Skip to content
Snippets Groups Projects
Commit a9bc3b6f authored by Gin Tan's avatar Gin Tan
Browse files

Merge branch 'force-pam-slurm-adop-aciab' into 'master'

Force pam_slurm_adopt

See merge request hpc-team/ansible_cluster_in_a_box!265
parents 70ce59aa aaeb8f04
No related branches found
No related tags found
1 merge request!265Force pam_slurm_adopt
......@@ -19,9 +19,6 @@
stat: path="{{ slurm_dir }}/bin/srun"
register: stat_srun
- name: stat pam_slurm_adopt
stat: path="/lib64/security/pam_slurm_adopt.so"
register: stat_pam_slurm_adopt
- name: configure slurm
command: /tmp/slurm-{{ slurm_version }}/configure --prefix={{ slurm_dir }} --with-munge={{ munge_dir }} --enable-pam --with-pmix=/usr/local/pmix/latest
......@@ -87,13 +84,13 @@
- name: build pam_slurm_adopt
make:
chdir: /tmp/slurm-{{ slurm_version }}/contribs/pam_slurm_adopt
when: force_slurm_recompile is defined or not stat_pam_slurm_adopt.stat.exists
when: force_slurm_recompile is defined or not stat_srun.stat.exists
- name: install pam_slurm_adopt
make:
chdir: /tmp/slurm-{{ slurm_version }}/contribs/pam_slurm_adopt
target: install
when: force_slurm_recompile is defined or not stat_pam_slurm_adopt.stat.exists
when: force_slurm_recompile is defined or not stat_srun.stat.exists
sudo: true
- name: remove exist-slurm-latest-link
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment