Enable "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:05:41 +09:00
parent a8e8737436
commit 705dfd8488

View file

@ -34,11 +34,11 @@
- foo.txt
- bar.txt
#- name: synchronize file to new filename
# synchronize:
# src: '{{output_dir}}/foo.txt'
# dest: '{{output_dir}}/foo.result'
# register: sync_result
- 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: