Tweak some values to try and get things working.

This commit is contained in:
Kevin Fenzi 2015-05-13 20:45:05 +00:00
parent 983ace10be
commit e5a5ca9e79
2 changed files with 2 additions and 3 deletions

View file

@ -13,7 +13,7 @@
- /srv/private/ansible/files/openstack/passwords.yml - /srv/private/ansible/files/openstack/passwords.yml
vars: vars:
- keypair: fedora-admin-20130801 - keypair: fedora-admin-20130801
- image: {{ centos70_x86_64 }} - image: "{{ centos70_x86_64 }}"
- instance_type: m1.small - instance_type: m1.small
- security_group: web-80-anywhere-persistent,web-443-anywhere-persistent,ssh-anywhere-persistent,default - security_group: web-80-anywhere-persistent,web-443-anywhere-persistent,ssh-anywhere-persistent,default
- region: nova - region: nova
@ -26,7 +26,6 @@
- net-id: "28db7265-fb78-4937-bfe3-9c8a9b959c30" - net-id: "28db7265-fb78-4937-bfe3-9c8a9b959c30"
- floating_ips: - floating_ips:
- "{{public_ip}}" - "{{public_ip}}"
tasks: tasks:
- name: fail when name is not provided - name: fail when name is not provided
fail: msg="Please specify the name of the instance" fail: msg="Please specify the name of the instance"

View file

@ -1,7 +1,7 @@
# New tasks to spin up instance in https://fed-cloud09.cloud.fedoraproject.org # New tasks to spin up instance in https://fed-cloud09.cloud.fedoraproject.org
- name: check it out - 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 register: host_is_up
ignore_errors: true ignore_errors: true