Keypair doesn't need to be defined 2 times in the same vars

This commit is contained in:
Kevin Fenzi 2015-05-13 21:18:20 +00:00
parent 524e77a20d
commit ec37aee7de

View file

@ -8,7 +8,6 @@
- name: spin UP VM using nova_compute
sudo: False
local_action:
keypair: fedora-admin-20130801
image: "{{ image }}"
instance_type: "{{ instance_type }}"
security_group: web-80-anywhere-transient,web-443-anywhere-transient,ssh-anywhere-transient,default
@ -26,7 +25,7 @@
wait_for: 300
flavor_id: "{{ instance_type|flavor_name_to_id('admin', ADMIN_PASS, 'transient', os_auth_url) }}"
security_groups: "{{security_group}}"
key_name: "{{ keypair }}"
key_name: fedora-admin-20130801
floating_ips:
- "{{public_ip}}"