handle ubuntus new location! 🤬

This commit is contained in:
Helena Rasche 2021-01-12 16:10:50 +01:00
parent 7c2d2abc36
commit a3104b029f
1 changed files with 6 additions and 2 deletions

View File

@ -36,7 +36,9 @@ __slurm_config_default:
SlurmctldLogFile: "{{ '/var/log/slurm-llnl/slurmctld.log' if __slurm_debian else omit }}"
SlurmctldPidFile: >-
{{
'/var/run/slurm-llnl/slurmctld.pid' if __slurm_debian else omit
'/run/slurmctld.pid' if __slurm_debian and ansible_distribution_release == 'focal' else (
'/var/run/slurm-llnl/slurmctld.pid' if __slurm_debian else
omit)
}}
StateSaveLocation: >-
{{
@ -49,7 +51,9 @@ __slurm_config_default:
SlurmdLogFile: "{{ '/var/log/slurm-llnl/slurmd.log' if __slurm_debian else omit }}"
SlurmdPidFile: >-
{{
'/var/run/slurm-llnl/slurmd.pid' if __slurm_debian else omit
'/run/slurmd.pid' if __slurm_debian and ansible_distribution_release == 'focal' else (
'/var/run/slurm-llnl/slurmd.pid' if __slurm_debian else
omit)
}}
SlurmdSpoolDir: >-
{{