From 779b7f7aa0facd47c3ba9a17b730027f1e96ecfc Mon Sep 17 00:00:00 2001 From: Patrick Hasler Date: Tue, 14 Jan 2025 12:44:42 +0100 Subject: [PATCH] fix: set mode 0640 all bareos files --- tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index feb97bd..be5967d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -109,7 +109,7 @@ dest: "/etc/bareos/bareos-dir.d/console/{{ item.name }}.conf" owner: bareos group: bareos - mode: "0644" + mode: "0640" backup: "{{ bareos_dir_backup_configurations }}" loop: "{{ bareos_dir_consoles }}" loop_control: @@ -124,7 +124,7 @@ dest: "/etc/bareos/bareos-dir.d/counter/{{ item.name }}.conf" owner: bareos group: bareos - mode: "0644" + mode: "0640" backup: "{{ bareos_dir_backup_configurations }}" loop: "{{ bareos_dir_counters }}" loop_control: @@ -233,7 +233,7 @@ dest: "/etc/bareos/bareos-dir.d/profile/{{ item.name }}.conf" owner: bareos group: bareos - mode: "0644" + mode: "0640" backup: "{{ bareos_dir_backup_configurations }}" loop: "{{ bareos_dir_profiles }}" loop_control: @@ -248,7 +248,7 @@ dest: "/etc/bareos/bareos-dir.d/schedule/{{ item.name }}.conf" owner: bareos group: bareos - mode: "0644" + mode: "0640" backup: "{{ bareos_dir_backup_configurations }}" loop: "{{ bareos_dir_schedules }}" loop_control: