tests: import gce.yml
This commit is contained in:
parent
079dc95aef
commit
8a2e8964a9
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- command: date +%Y%m%d-%H%M%S
|
||||||
|
register: out
|
||||||
|
|
||||||
|
- set_fact:
|
||||||
|
instance_name: "controller-{{out.stdout}}"
|
||||||
|
|
||||||
|
- command: >
|
||||||
|
gcloud compute instances create {{instance_name}} --can-ip-forward --machine-type=n1-standard-8 --preemptible --scopes=compute-ro --image-project=debian-cloud --image-family=debian-9
|
Loading…
Reference in New Issue