Skip to content

Commit

Permalink
Move handlers run after the topology config
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudfroidmont committed Dec 9, 2022
1 parent 8c3a8f7 commit c5a3f32
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions playbooks/roles/slurm/tasks/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,6 @@
notify: restart slurm server
when: initial | bool

- name: run handlers
meta: flush_handlers

- name: add alias for node status
lineinfile:
path: '/home/{{ ansible_user }}/.bashrc'
Expand Down Expand Up @@ -191,6 +188,10 @@
run_once: true
notify: reconfigure slurm


- name: run handlers
meta: flush_handlers

- name: Generate a list of types to check
vars:
temp_list: "{% for partition in queues %}{% for instancetype in partition.instance_types %}{{partition.name}}-{{instancetype.instance_keyword}},{% endfor %}{% endfor %}"
Expand Down

0 comments on commit c5a3f32

Please sign in to comment.