From 0d8f931b9641ceb28d1965c987d71a949294b491 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Fri, 9 Aug 2024 10:08:39 -0400 Subject: [PATCH] ansible: Remove group read access to netplan configuration files Netplan warns that the configuration files shouldn't be group readable when running `netplan apply`. This change will silence that warning. Change-Id: I3d390f5626f92760e2a4ab7690f9c63b64ef639b Signed-off-by: Kienan Stewart --- automation/ansible/roles/netplan/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/ansible/roles/netplan/tasks/main.yml b/automation/ansible/roles/netplan/tasks/main.yml index 2bef5d8..902a1e1 100644 --- a/automation/ansible/roles/netplan/tasks/main.yml +++ b/automation/ansible/roles/netplan/tasks/main.yml @@ -10,7 +10,7 @@ dest: /etc/netplan/default.yaml owner: root group: root - mode: '0640' + mode: '0600' register: netplan_default_yaml - name: Disable ifupdown on Debian when: ansible_distribution == "Debian" -- 2.34.1