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