From 2b3f130383af5d7286dc7e580f88a8b955f6d4dd Mon Sep 17 00:00:00 2001 From: CVL-GitHub <jupiter.hu@monash.edu> Date: Thu, 24 Sep 2015 12:59:51 +1000 Subject: [PATCH] missing file --- roles/slurmdb-config/templates/slurmdblog.j2 | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 roles/slurmdb-config/templates/slurmdblog.j2 diff --git a/roles/slurmdb-config/templates/slurmdblog.j2 b/roles/slurmdb-config/templates/slurmdblog.j2 new file mode 100644 index 0000000..f9042d6 --- /dev/null +++ b/roles/slurmdb-config/templates/slurmdblog.j2 @@ -0,0 +1,24 @@ +{{ slurmdbdlog.log }} +{% endif %} +{ + compress + missingok + nocopytruncate + nocreate + nodelaycompress + nomail + notifempty + noolddir + rotate 5 + sharedscripts + size=5M + create 640 slurm root +{% if ansible_os_family == 'RedHat' and ansible_distribution_version >= '7' %} + postrotate + {{ slurm_dir }}/sbin/slurmdbd flushlogs 1>/dev/null || true +{% else %} + postrotate /etc/init.d/slurmdbd reconfig +{% endif %} + endscript +} + -- GitLab