mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
TEST
This commit is contained in:
parent
6ab8fdd09c
commit
f7a820ad7a
1 changed files with 6 additions and 6 deletions
|
|
@ -33,14 +33,14 @@
|
||||||
with_items:
|
with_items:
|
||||||
- foo.txt
|
- foo.txt
|
||||||
- bar.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
|
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:
|
#- assert:
|
||||||
# that:
|
# that:
|
||||||
# - '''changed'' in sync_result'
|
# - '''changed'' in sync_result'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue