Add delegate_to to "synchronize file to new filename" task

Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
Hideki Saito 2022-03-12 21:13:11 +09:00
parent 705dfd8488
commit 6421b000f7

View file

@ -39,7 +39,7 @@
src: '{{output_dir}}/foo.txt'
dest: '{{output_dir}}/foo.result'
register: sync_result
# delegate_to: '{{ inventory_hostname }}'
delegate_to: '{{ inventory_hostname }}'
#- assert:
# that:
# - '''changed'' in sync_result'