mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 07:33:52 +02:00
GCE. replace underscores (#698)
This commit is contained in:
parent
ee7264f26e
commit
3c55cd15a4
2 changed files with 2 additions and 1 deletions
2
algo
2
algo
|
@ -384,7 +384,7 @@ Please choose the number of your zone. Press enter for default (#14) zone.
|
||||||
esac
|
esac
|
||||||
|
|
||||||
ROLES="gce vpn cloud"
|
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 () {
|
non_cloud () {
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
- set_fact:
|
- set_fact:
|
||||||
service_account_email: "{{ credentials_file_lookup.client_email | default(lookup('env','GCE_EMAIL')) }}"
|
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')) }}"
|
project_id: "{{ credentials_file_lookup.project_id | default(lookup('env','GCE_PROJECT')) }}"
|
||||||
|
server_name: "{{ gce_server_name | replace('_', '-') }}"
|
||||||
|
|
||||||
- name: Network configured
|
- name: Network configured
|
||||||
gce_net:
|
gce_net:
|
||||||
|
|
Loading…
Add table
Reference in a new issue