handle ubuntus new location! 🤬
This commit is contained in:
parent
7c2d2abc36
commit
a3104b029f
|
@ -36,7 +36,9 @@ __slurm_config_default:
|
||||||
SlurmctldLogFile: "{{ '/var/log/slurm-llnl/slurmctld.log' if __slurm_debian else omit }}"
|
SlurmctldLogFile: "{{ '/var/log/slurm-llnl/slurmctld.log' if __slurm_debian else omit }}"
|
||||||
SlurmctldPidFile: >-
|
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: >-
|
StateSaveLocation: >-
|
||||||
{{
|
{{
|
||||||
|
@ -49,7 +51,9 @@ __slurm_config_default:
|
||||||
SlurmdLogFile: "{{ '/var/log/slurm-llnl/slurmd.log' if __slurm_debian else omit }}"
|
SlurmdLogFile: "{{ '/var/log/slurm-llnl/slurmd.log' if __slurm_debian else omit }}"
|
||||||
SlurmdPidFile: >-
|
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: >-
|
SlurmdSpoolDir: >-
|
||||||
{{
|
{{
|
||||||
|
|
Loading…
Reference in New Issue