switch fetch to ansible.builtin.copy
This commit is contained in:
@@ -4,9 +4,12 @@
|
||||
tasks:
|
||||
# Copy remote file (host.example.com:/tmp/somefile) into
|
||||
# /tmp/fetched/host.example.com/tmp/somefile on local machine
|
||||
- fetch:
|
||||
- ansible.builtin.copy:
|
||||
src: ./files/openitcockpit-agent_3.1.1_amd64.deb
|
||||
dest: /tmp/openitcockpit-agent_3.1.1_amd64.deb
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
|
||||
- name: change working directory
|
||||
ansible.builtin.shell:
|
||||
|
||||
Reference in New Issue
Block a user