mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
Add delegate_to each task
Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
parent
6421b000f7
commit
d1814d1d4a
1 changed files with 1 additions and 0 deletions
|
|
@ -33,6 +33,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- foo.txt
|
- foo.txt
|
||||||
- bar.txt
|
- bar.txt
|
||||||
|
delegate_to: '{{ inventory_hostname }}'
|
||||||
|
|
||||||
- name: synchronize file to new filename
|
- name: synchronize file to new filename
|
||||||
synchronize:
|
synchronize:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue