From a6e93c5f9ea4a02a4fcf339c9bc6df09075d3efb Mon Sep 17 00:00:00 2001 From: John Ratliff Date: Thu, 9 May 2024 10:34:36 +0000 Subject: [PATCH] fix directory permissions --- Ansible/Playbooks/RKE2/roles/kube-vip/tasks/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ansible/Playbooks/RKE2/roles/kube-vip/tasks/main.yaml b/Ansible/Playbooks/RKE2/roles/kube-vip/tasks/main.yaml index aaa500b..9593515 100644 --- a/Ansible/Playbooks/RKE2/roles/kube-vip/tasks/main.yaml +++ b/Ansible/Playbooks/RKE2/roles/kube-vip/tasks/main.yaml @@ -3,7 +3,7 @@ ansible.builtin.file: path: "/var/lib/rancher/rke2/server/manifests" state: directory - mode: '0644' + mode: "0755" when: inventory_hostname in groups['servers'] # Copy kube-vip to server 1 manifest folder for auto deployment at bootstrap @@ -13,5 +13,5 @@ dest: /var/lib/rancher/rke2/server/manifests/kube-vip.yaml owner: root group: root - mode: '0644' + mode: "0644" when: inventory_hostname == groups['servers'][0]