Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Google Cloud #1811

Open
greenocelot26 opened this issue Sep 29, 2020 · 0 comments
Open

Google Cloud #1811

greenocelot26 opened this issue Sep 29, 2020 · 0 comments

Comments

@greenocelot26
Copy link

Expected behavior:

Working Streisand Server, setup in GCE

Actual Behavior:

Ceased Working at installation

Steps to Reproduce:

  1. git clone https://github.com/StreisandEffect/streisand.git && cd streisand
  2. ./util/venv-dependencies.sh ./venv
  3. apt-get install build-essential python3-pip python3-openssl python3-dev python3-setuptools python-cffi libffi-dev libssl-dev libcurl4-openssl-dev
  4. ./util/venv-dependencies.sh ./venv
  5. source ./venv/bin/activate
  6. ./streisand
  7. Configuration
    Which provider are you using?
    4 (GCE)
    Enter the path to your SSH private key, or press enter for default [~/.ssh/id_rsa]:
    How many VPN client profiles should be generated per-service (min: 1 max: 20)? Press enter for default [10]:
    Enable DNS-based ad-blocking? Press enter for default [no]: yes
    Enable OpenConnect? Press enter for default [yes]:
    Enable OpenVPN? Press enter for default [yes]:
    Enable stunnel service (only allowed for OpenVPN)? Press enter for default [yes]:
    Enable Shadowsocks? Press enter for default [yes]:
    Enable v2ray-plugin for Shadowsocks? Press enter for default [no]: yes
    Enable SSH Forward User? (Note: A SOCKS proxy only user will be added, no shell). Press enter for default [yes]:
    Enable sshuttle? (Note: A full shell access user will be added) Press enter for default [no]: yes
    Enable tinyproxy? Press enter for default [yes]:
    Enable Tor? Press enter for default [no]: yes
    Enable WireGuard? Press enter for default [yes]:
    [BROKEN ON SOME PROVIDERS, including AWS] Enable DNS-over-HTTPS (cloudflared)? Press enter for default [no]: yes

What zone should the server be located in?
40 (Sydney A)

What should the server be named? Press enter for default (streisand).
streisand

GCE Credentials Supplied

Streisand will now set up your server. This process usually takes around ten minutes. Press Enter to begin setup...
:

PLAY [Provision the GCE Server] ****************************************************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************************************************************
ok: [localhost]

TASK [Set the Google Compute Engine Zone interactive] ******************************************************************************************************************
ok: [localhost]

TASK [Register JSON file contents] *************************************************************************************************************************************
ok: [localhost]

TASK [Set JSON file contents fact] *************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"msg": "the field 'args' has an invalid value ({'gce_json_contents_fact': '{{ gce_json_file_contents.stdout | from_json }}'}), and could not be converted to an dict.The error was: Invalid control character at: line 5 column 38 (char 171)\n\nThe error appears to be in '/root/streisand/playbooks/google.yml': line 147, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set JSON file contents fact\n ^ here\n"}

PLAY RECAP *************************************************************************************************************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Additional Details:

Log output from Ansible or other relevant services (link to Gist for longer output): Pasted Above

Target Cloud Provider: Google Cloud
Operating System of target host: Ubuntu 16.04
Operating System of client: Ubuntu 20.04
Version of Ansible, using ansible --version : 2.8.4
Output from git rev-parse HEAD in your Streisand directory :af5eb7dac157a2416ea64cba96cf32f7f505d9ff
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant