You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tasks/runtime.yml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@
77
77
ansible.builtin.tempfile:
78
78
register: _slurm_conf_tmpfile
79
79
delegate_to: localhost
80
-
when: openhpc_enable.control | default(false) or not 'enable_configless' in openhpc_config.SlurmctldParameters | default([])
80
+
when: openhpc_enable.control | default(false) or not openhpc_slurm_configless
81
81
changed_when: false # so molecule doesn't fail
82
82
become: no
83
83
@@ -88,7 +88,7 @@
88
88
lstrip_blocks: true
89
89
mode: 0644
90
90
delegate_to: localhost
91
-
when: openhpc_enable.control | default(false) or not 'enable_configless' in openhpc_config.SlurmctldParameters | default([])
91
+
when: openhpc_enable.control | default(false) or not openhpc_slurm_configless
92
92
changed_when: false # so molecule doesn't fail
93
93
become: no
94
94
@@ -103,7 +103,7 @@
103
103
mode: 0644
104
104
loop: "{{ openhpc_config | dict2items }}"
105
105
delegate_to: localhost
106
-
when: openhpc_enable.control | default(false) or not 'enable_configless' in openhpc_config.SlurmctldParameters | default([])
106
+
when: openhpc_enable.control | default(false) or not openhpc_slurm_configless
107
107
changed_when: false # so molecule doesn't fail
108
108
become: no
109
109
@@ -114,7 +114,7 @@
114
114
owner: root
115
115
group: root
116
116
mode: 0644
117
-
when: openhpc_enable.control | default(false) or not 'enable_configless' in openhpc_config.SlurmctldParameters | default([])
117
+
when: openhpc_enable.control | default(false) or not openhpc_slurm_configless
118
118
notify:
119
119
- Restart slurmctld service
120
120
register: ohpc_slurm_conf
@@ -150,7 +150,7 @@
150
150
mode: 0644
151
151
when:
152
152
- openhpc_slurm_service == 'slurmd'
153
-
- "'enable_configless' in openhpc_config.SlurmctldParameters | default([])"
153
+
- openhpc_slurm_configless
154
154
notify:
155
155
- Restart slurmd service
156
156
# Reloading is sufficent, but using a single handler means no bounce. Realistically this won't regularly change on a running slurmd so restarting is ok.
0 commit comments