This commit is contained in:
Hideki Saito 2022-03-12 22:15:48 +09:00
parent abaa709d99
commit d4b029910d

View file

@ -39,7 +39,8 @@
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: '{{ ansible_user }}@{{ inventory_hostname }}'
#- assert: #- assert:
# that: # that:
# - '''changed'' in sync_result' # - '''changed'' in sync_result'