Change src dest dir to a fixed value

Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
Hideki Saito 2022-03-12 21:31:44 +09:00
parent 42f5d30ab0
commit fb42b9e7b9

View file

@ -40,8 +40,8 @@
- name: synchronize file to new filename - name: synchronize file to new filename
synchronize: synchronize:
src: '{{output_dir}}/foo.txt' src: '/root/ansible_collections/ansible/posix/tests/output/.tmp/output_dir/foo.txt'
dest: '{{output_dir}}/foo.result' dest: ''/root/ansible_collections/ansible/posix/tests/output/.tmp/output_dir/foo.result'
register: sync_result register: sync_result
delegate_to: '{{ inventory_hostname }}' delegate_to: '{{ inventory_hostname }}'
#- assert: #- assert: