Preemptibile instances for GCE

This commit is contained in:
Antoine Legrand 2017-03-23 10:12:00 +01:00
parent 04746fc4d8
commit 7dfc87397b

View file

@ -3,7 +3,7 @@
become: false
gather_facts: no
vars:
cloud_machine_type: g1-small
cloud_machine_type: n1-standard-2
mode: default
tasks:
@ -24,7 +24,7 @@
instance_names: "{{instance_names}}"
machine_type: "{{ cloud_machine_type }}"
image: "{{ cloud_image }}"
preemptible: no
preemptible: yes
service_account_email: "{{ gce_service_account_email }}"
pem_file: "{{ gce_pem_file | default(omit)}}"
credentials_file: "{{gce_credentials_file | default(omit)}}"