Create container-puppet-tasks files per step in check mode
In check mode, we still create the container-puppet-tasks json files,
they are later processed, even in dry run.
Change-Id: If999952c6cc0c9bf03ca745bddcf79c395a44e98
(cherry picked from commit 03bb3bbdb4
)
This commit is contained in:
parent
6dd9eeef63
commit
9a84c03802
|
@ -2,9 +2,10 @@
|
|||
no_log: True
|
||||
copy:
|
||||
content: "{{lookup ('vars', 'host_container_puppet_tasks_' ~ step, default=[]) | to_nice_json}}"
|
||||
dest: "/var/lib/container-puppet/container-puppet-tasks{{step}}.json"
|
||||
dest: "/var/lib/container-puppet/{{ ansible_check_mode | bool | ternary('check-mode/', '') }}container-puppet-tasks{{step}}.json"
|
||||
force: yes
|
||||
mode: '0600'
|
||||
check_mode: no
|
||||
tags:
|
||||
- container_config_tasks
|
||||
|
||||
|
|
Loading…
Reference in New Issue