Skip to content
Snippets Groups Projects
Commit bad98c80 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

Former-commit-id: a9bc3b6f
parents e79ea0fa da4912b9
No related branches found
No related tags found
No related merge requests found
...@@ -19,9 +19,6 @@ ...@@ -19,9 +19,6 @@
stat: path="{{ slurm_dir }}/bin/srun" stat: path="{{ slurm_dir }}/bin/srun"
register: stat_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 - name: configure slurm
command: /tmp/slurm-{{ slurm_version }}/configure --prefix={{ slurm_dir }} --with-munge={{ munge_dir }} --enable-pam --with-pmix=/usr/local/pmix/latest 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 @@ ...@@ -87,13 +84,13 @@
- name: build pam_slurm_adopt - name: build pam_slurm_adopt
make: make:
chdir: /tmp/slurm-{{ slurm_version }}/contribs/pam_slurm_adopt 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 - name: install pam_slurm_adopt
make: make:
chdir: /tmp/slurm-{{ slurm_version }}/contribs/pam_slurm_adopt chdir: /tmp/slurm-{{ slurm_version }}/contribs/pam_slurm_adopt
target: install 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 sudo: true
- name: remove exist-slurm-latest-link - 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