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

Commit

Permalink
GCE. replace underscores (trailofbits#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunph1ld authored and dguido committed Oct 18, 2017
1 parent ca57c2d commit 2ecfc66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion algo
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ Please choose the number of your zone. Press enter for default (#14) zone.
esac

ROLES="gce vpn cloud"
EXTRA_VARS="credentials_file=$credentials_file server_name=$server_name ssh_public_key=$ssh_public_key zone=$zone max_mss=1316"
EXTRA_VARS="credentials_file=$credentials_file gce_server_name=$server_name ssh_public_key=$ssh_public_key zone=$zone max_mss=1316"
}

non_cloud () {
Expand Down
1 change: 1 addition & 0 deletions roles/cloud-gce/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- set_fact:
service_account_email: "{{ credentials_file_lookup.client_email | default(lookup('env','GCE_EMAIL')) }}"
project_id: "{{ credentials_file_lookup.project_id | default(lookup('env','GCE_PROJECT')) }}"
server_name: "{{ gce_server_name | replace('_', '-') }}"

- name: Network configured
gce_net:
Expand Down

0 comments on commit 2ecfc66

Please sign in to comment.