Fix dry-run for "remote copy deployment file" task
This was missing in the last attempt to make that playbook working in check mode. Change-Id: I2de91a2b06fade9969eb294d576bb33bc2d2bff3
This commit is contained in:
parent
db3ad3558c
commit
49a3d13efd
@ -144,7 +144,7 @@
|
|||||||
content: "[ {{ deployment_content.content | b64decode | from_yaml | json_query(item_only) }} ]"
|
content: "[ {{ deployment_content.content | b64decode | from_yaml | json_query(item_only) }} ]"
|
||||||
dest: "/var/lib/heat-config/tripleo-config-download/{{ item ~ '-' ~ deployment_uuid }}"
|
dest: "/var/lib/heat-config/tripleo-config-download/{{ item ~ '-' ~ deployment_uuid }}"
|
||||||
when:
|
when:
|
||||||
- deployment_content is defined
|
- not ansible_check_mode|bool
|
||||||
|
|
||||||
- name: "Check if deployed file exists for {{ item }}"
|
- name: "Check if deployed file exists for {{ item }}"
|
||||||
stat:
|
stat:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user