mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
Add delegate_to to "synchronize file to new filename" task
Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
parent
705dfd8488
commit
6421b000f7
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@
|
||||||
src: '{{output_dir}}/foo.txt'
|
src: '{{output_dir}}/foo.txt'
|
||||||
dest: '{{output_dir}}/foo.result'
|
dest: '{{output_dir}}/foo.result'
|
||||||
register: sync_result
|
register: sync_result
|
||||||
# delegate_to: '{{ inventory_hostname }}'
|
delegate_to: '{{ inventory_hostname }}'
|
||||||
#- assert:
|
#- assert:
|
||||||
# that:
|
# that:
|
||||||
# - '''changed'' in sync_result'
|
# - '''changed'' in sync_result'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue