From e8637bc262e65ece9279295eee753e58a5d7827c Mon Sep 17 00:00:00 2001 From: Ramon Perez Date: Fri, 4 Aug 2023 12:25:55 +0200 Subject: [PATCH] fix issue with fetch command --- roles/generate_manifests/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/generate_manifests/tasks/main.yml b/roles/generate_manifests/tasks/main.yml index 4e197e02..56389529 100644 --- a/roles/generate_manifests/tasks/main.yml +++ b/roles/generate_manifests/tasks/main.yml @@ -42,12 +42,12 @@ # save them in a safe place in case of needing to check them - name: Save a backup of agent-config files fetch: - src: "{{ item }}" - dest: "{{ fetched_dest }}" + src: "{{ manifests_dir }}/{{ item }}" + dest: "{{ fetched_dest }}/{{ item }}" flat: true loop: - - "{{ manifests_dir }}/agent-config.yaml" - - "{{ manifests_dir }}/install-config.yaml" + - agent-config.yaml + - install-config.yaml - name: Create extra_manifest_dir dir ansible.builtin.file: