diff --git a/roles/rsyslog/templates/rsyslog.conf.j2 b/roles/rsyslog/templates/rsyslog.conf.j2 index 5a1286b..e432c08 100644 --- a/roles/rsyslog/templates/rsyslog.conf.j2 +++ b/roles/rsyslog/templates/rsyslog.conf.j2 @@ -28,16 +28,16 @@ $FileOwner {{ rsyslog_file_owner }} $FileGroup {{ rsyslog_file_group }} {% endif %} {% if rsyslog_dir_owner is defined %} -$FileOwner {{ rsyslog_dir_owner }} +$DirOwner {{ rsyslog_dir_owner }} {% endif %} {% if rsyslog_dir_group is defined %} -$FileGroup {{ rsyslog_dir_group }} +$DirGroup {{ rsyslog_dir_group }} {% endif %} {% if rsyslog_file_create_mode is defined %} $FileCreateMode {{ rsyslog_file_create_mode }} {% endif %} {% if rsyslog_create_dirs is defined %} -CreateDirs {{ rsyslog_create_dirs | ternary('on', 'off') }} +$CreateDirs {{ rsyslog_create_dirs | ternary('on', 'off') }} {% endif %} {% if rsyslog_dir_create_mode is defined %} $DirCreateMode {{ rsyslog_dir_create_mode }}