Skip to content

Commit c5a3f32

Browse files
Move handlers run after the topology config
1 parent 8c3a8f7 commit c5a3f32

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

playbooks/roles/slurm/tasks/server.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@
154154
notify: restart slurm server
155155
when: initial | bool
156156

157-
- name: run handlers
158-
meta: flush_handlers
159-
160157
- name: add alias for node status
161158
lineinfile:
162159
path: '/home/{{ ansible_user }}/.bashrc'
@@ -191,6 +188,10 @@
191188
run_once: true
192189
notify: reconfigure slurm
193190

191+
192+
- name: run handlers
193+
meta: flush_handlers
194+
194195
- name: Generate a list of types to check
195196
vars:
196197
temp_list: "{% for partition in queues %}{% for instancetype in partition.instance_types %}{{partition.name}}-{{instancetype.instance_keyword}},{% endfor %}{% endfor %}"

0 commit comments

Comments
 (0)