Modify creation of GCE Instance (#363)

Update deprecated GCE metadata options
This commit is contained in:
Casey Lang 2017-04-07 09:51:30 -05:00 committed by defunct
parent 7bde06309f
commit 8b977afd99

View file

@ -15,10 +15,10 @@
zone: "{{ zone }}"
machine_type: f1-micro
image: ubuntu-1604
service_account_email: "{{ service_account_email }}"
credentials_file: "{{ credentials_file_path }}"
project_id: "{{ project_id }}"
metadata: '{"sshKeys":"root:{{ ssh_public_key_lookup }}"}'
service_account_email: "{{ service_account_email }}"
credentials_file: "{{ credentials_file_path }}"
project_id: "{{ project_id }}"
metadata: '{"ssh-keys":"ubuntu:{{ ssh_public_key_lookup }}"}'
tags:
- "environment-algo"
register: google_vm