Tweak some values to try and get things working.
This commit is contained in:
parent
983ace10be
commit
e5a5ca9e79
2 changed files with 2 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
|||
- /srv/private/ansible/files/openstack/passwords.yml
|
||||
vars:
|
||||
- keypair: fedora-admin-20130801
|
||||
- image: {{ centos70_x86_64 }}
|
||||
- image: "{{ centos70_x86_64 }}"
|
||||
- instance_type: m1.small
|
||||
- security_group: web-80-anywhere-persistent,web-443-anywhere-persistent,ssh-anywhere-persistent,default
|
||||
- region: nova
|
||||
|
@ -26,7 +26,6 @@
|
|||
- net-id: "28db7265-fb78-4937-bfe3-9c8a9b959c30"
|
||||
- floating_ips:
|
||||
- "{{public_ip}}"
|
||||
|
||||
tasks:
|
||||
- name: fail when name is not provided
|
||||
fail: msg="Please specify the name of the instance"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# New tasks to spin up instance in https://fed-cloud09.cloud.fedoraproject.org
|
||||
|
||||
- name: check it out
|
||||
local_action: shell nc -d -z -w 5 {{ inventory_hostname }} 22 >>/dev/null
|
||||
local_action: shell nc -d -z -w 5 {{ public_ip }} 22 >>/dev/null
|
||||
register: host_is_up
|
||||
ignore_errors: true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue