perhaps this is what I need

This commit is contained in:
Kevin Fenzi 2016-10-21 18:56:10 +00:00
parent e8cb6b5330
commit a374ede222

View file

@ -64,7 +64,7 @@
- local_action: shell nova --os-auth-url="{{os_auth_url}}" --os-username="admin" --os-password="{{ADMIN_PASS}}" --os-tenant-name={{inventory_tenant}} volume-attach "{{inventory_instance_name}}" "{{item.volume_id}}" "{{item.device}}"
with_items: "{{volumes}}"
ignore_errors: True
when: volume_available.rc == 0
when: volumes is defined and volume_available is defined and volume_available is true
- name: wait for he host to be hot
local_action: wait_for host={{ public_ip }} port=22 delay=1 timeout=600