try to make the volume addition part of the standard persistent setup
may not work
This commit is contained in:
parent
e2ca40fe84
commit
eb000071cf
1 changed files with 6 additions and 0 deletions
|
@ -17,3 +17,9 @@
|
||||||
local_action: wait_for host=${public_ip} port=22 delay=20 timeout=300
|
local_action: wait_for host=${public_ip} port=22 delay=20 timeout=300
|
||||||
only_if: "'${host_is_up.rc}' != '0'"
|
only_if: "'${host_is_up.rc}' != '0'"
|
||||||
|
|
||||||
|
# attach and mount volumes
|
||||||
|
- name: attach volumes to the system
|
||||||
|
local_action: shell euca-attach-volume -i ${inst_res.instances[0].id} $item
|
||||||
|
only_if: "'${host_is_up.rc}' != '0' and is_set('${volumes}')"
|
||||||
|
with_items: $volumes
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue