From 576c5c6f171b88aaed694a14b19a02ab2d276876 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Tue, 3 Dec 2019 20:41:50 -0600 Subject: [PATCH] Fix /var/log/syslog directory ownership --- roles/rsyslog/tasks/archival.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/rsyslog/tasks/archival.yaml b/roles/rsyslog/tasks/archival.yaml index c733dc3..a637e7a 100644 --- a/roles/rsyslog/tasks/archival.yaml +++ b/roles/rsyslog/tasks/archival.yaml @@ -42,9 +42,9 @@ - name: create /var/log/syslog file: path: /var/log/syslog - owner: syslog - group: adm - mode: 0750 + owner: "{{ rsyslog_dir_owner }}" + group: "{{ rsyslog_dir_group }}" + mode: "{{ rsyslog_dir_create_mode }}" state: directory - name: configure archival format