File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
playbooks/roles/slurm/tasks Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 1313 include_tasks : common.yml
1414 when : (not destroy|bool) and ((initial|bool) or (not initial|bool and ('compute' in group_names)))
1515
16- - name : run server directives
16+ - name : run server directives ol8 bastion
17+ vars :
18+ slurm_repos : " ol8_developer_EPEL,ol8_codeready_builder"
19+ include_tasks : server.yml
20+ when : ('bastion' in group_names) and (not destroy|bool) and (initial| bool) and ansible_distribution_major_version == '8'
21+
22+ - name : run server directives ol7 bastion
1723 vars :
1824 slurm_repos : " epel,ol7_developer_EPEL"
1925 include_tasks : server.yml
20- when : ('bastion' in group_names) and (not destroy|bool) and (initial| bool)
26+ when : ('bastion' in group_names) and (not destroy|bool) and (initial| bool) and ansible_distribution_major_version == '7'
2127
2228- name : run compute directives
2329 vars :
Original file line number Diff line number Diff line change 1313 include_tasks : common.yml
1414 when : (not destroy|bool) and ((initial|bool) or (not initial|bool and ('compute' in group_names)))
1515
16- - name : run server directives
16+ - name : run server directives ol7 bastion
17+ vars :
18+ slurm_repos : " epel,ol7_developer_EPEL"
19+ include_tasks : server.yml
20+ when : ('bastion' in group_names) and (not destroy|bool) and (initial| bool) and ansible_distribution_major_version == '7'
21+
22+ - name : run server directives ol8 bastion
1723 vars :
1824 slurm_repos : " ol8_developer_EPEL,ol8_codeready_builder"
1925 include_tasks : server.yml
20- when : ('bastion' in group_names) and (not destroy|bool) and (initial| bool)
26+ when : ('bastion' in group_names) and (not destroy|bool) and (initial| bool) and ansible_distribution_major_version == '8'
2127
2228- name : run compute directives
2329 vars :
You can’t perform that action at this time.
0 commit comments