From 9e365a1b9f078f060d0d2ec0c3e00b345a8a7026 Mon Sep 17 00:00:00 2001 From: Wendell Jones Date: Wed, 23 Jul 2025 12:11:59 -0400 Subject: [PATCH] switch fetch to ansible.builtin.copy --- install_openitcockpit.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install_openitcockpit.yaml b/install_openitcockpit.yaml index 782aa08..a613a2b 100644 --- a/install_openitcockpit.yaml +++ b/install_openitcockpit.yaml @@ -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 + dest: /tmp/openitcockpit-agent_3.1.1_amd64.deb + owner: root + group: root + mode: '0644' - name: change working directory ansible.builtin.shell: