This commit is contained in:
Hideki Saito 2022-03-12 22:27:10 +09:00
parent 6ab8fdd09c
commit f7a820ad7a

View file

@ -33,14 +33,14 @@
with_items:
- foo.txt
- bar.txt
- name: synchronize file to new filename
synchronize:
src: "{{ output_dir }}/foo.txt"
dest: "{{ output_dir }}/foo.result"
register: sync_result
delegate_to: localhost
#- name: synchronize file to new filename
# synchronize:
# src: "{{ output_dir }}/foo.txt"
# dest: "{{ output_dir }}/foo.result"
# register: sync_result
# delegate_to: '{{ inventory_hostname }}'
#- assert:
# that:
# - '''changed'' in sync_result'