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
6f8101f49e
commit
6dbe55534a
1 changed files with 9 additions and 0 deletions
|
|
@ -42,7 +42,16 @@
|
|||
copy:
|
||||
src: "{{ output_dir }}/foo.txt"
|
||||
dest: "{{ output_dir }}/foo.result"
|
||||
when:
|
||||
- ansible_facts.virtualization_type != 'docker'
|
||||
|
||||
- name: copy file to new filename
|
||||
copy:
|
||||
src: "{{ output_dir }}/foo.txt"
|
||||
dest: "{{ output_dir }}/foo.result"
|
||||
delegate_to: "{{ inventory_hostname }}"
|
||||
when:
|
||||
- ansible_facts.virtualization_type == 'docker'
|
||||
|
||||
#- name: synchronize file to new filename
|
||||
# synchronize:
|
||||
|
|
|
|||
Loading…
Reference in a new issue