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