Skip to content

Commit f47563b

Browse files
Merge pull request #109 from oci-hpc/2.10.2_ds_ldap_update
Run fix ldap before slurm role
2 parents 0bb65bd + 9face3e commit f47563b

File tree

3 files changed

+25
-27
lines changed

3 files changed

+25
-27
lines changed

playbooks/new_nodes.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,19 @@
168168
when: enroot|default(true)|bool
169169
- include_role:
170170
name: tuned
171-
172171

173172
- hosts: compute
174173
tasks:
175174
- include_role:
176175
name: latency_check
177-
when: cluster_network|bool and not 'GPU' in shape
176+
when: cluster_network|bool and not 'GPU' in shape
177+
178+
- hosts: all
179+
become: true
180+
tasks:
181+
- include_role:
182+
name: fix_ldap
183+
when: ldap|default(true)|bool
178184

179185
- hosts: compute, slurm_backup
180186
vars:
@@ -196,11 +202,4 @@
196202
when: slurm|default(false)|bool
197203
- include_role:
198204
name: telegraf
199-
when: monitoring|default(false)|bool
200-
201-
- hosts: all
202-
become: true
203-
tasks:
204-
- include_role:
205-
name: fix_ldap
206-
when: ldap|default(true)|bool
205+
when: monitoring|default(false)|bool

playbooks/resize_add.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,18 @@
171171
- include_role:
172172
name: tuned
173173

174-
175174
- hosts: compute_to_add
176175
tasks:
177176
- include_role:
178177
name: latency_check
179-
when: cluster_network|bool and not 'GPU' in shape
178+
when: cluster_network|bool and not 'GPU' in shape
179+
180+
- hosts: all
181+
become: true
182+
tasks:
183+
- include_role:
184+
name: fix_ldap
185+
when: ldap|default(true)|bool
180186

181187
- hosts: compute_to_add
182188
vars:
@@ -198,11 +204,4 @@
198204
when: slurm|default(false)|bool
199205
- include_role:
200206
name: telegraf
201-
when: monitoring|default(false)|bool
202-
203-
- hosts: all
204-
become: true
205-
tasks:
206-
- include_role:
207-
name: fix_ldap
208-
when: ldap|default(true)|bool
207+
when: monitoring|default(false)|bool

playbooks/site.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,13 @@
286286
- include_role:
287287
name: tuned
288288

289+
- hosts: all
290+
become: true
291+
tasks:
292+
- include_role:
293+
name: fix_ldap
294+
when: ldap|default(true)|bool
295+
289296
- hosts: all
290297
vars:
291298
destroy: false
@@ -305,10 +312,3 @@
305312
- include_role:
306313
name: slurm
307314
when: slurm|default(false)|bool
308-
309-
- hosts: all
310-
become: true
311-
tasks:
312-
- include_role:
313-
name: fix_ldap
314-
when: ldap|default(true)|bool

0 commit comments

Comments
 (0)