From 655bab5adc999753ae53281c89abf66f6e825ccf Mon Sep 17 00:00:00 2001 From: jarpat Date: Tue, 2 Apr 2024 12:01:14 -0400 Subject: [PATCH] add remote_src --- roles/kubernetes/control_plane/init/primary/tasks/main.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/kubernetes/control_plane/init/primary/tasks/main.yaml b/roles/kubernetes/control_plane/init/primary/tasks/main.yaml index 1115ed8..739581b 100644 --- a/roles/kubernetes/control_plane/init/primary/tasks/main.yaml +++ b/roles/kubernetes/control_plane/init/primary/tasks/main.yaml @@ -25,6 +25,7 @@ ansible.builtin.copy: src: "/etc/kubernetes/admin.conf" dest: "/etc/kubernetes/admin.conf.bak" + remote_src: true tags: - install - update @@ -32,6 +33,7 @@ ansible.builtin.copy: src: "/etc/kubernetes/super-admin.conf" dest: "/etc/kubernetes/admin.conf" + remote_src: true tags: - install - update @@ -46,6 +48,7 @@ ansible.builtin.copy: src: "/etc/kubernetes/admin.conf.bak" dest: "/etc/kubernetes/admin.conf" + remote_src: true tags: - install - update