diff --git a/playbooks/roles/slurm/tasks/server.yml b/playbooks/roles/slurm/tasks/server.yml index 0f75132e..2c751f6c 100755 --- a/playbooks/roles/slurm/tasks/server.yml +++ b/playbooks/roles/slurm/tasks/server.yml @@ -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' @@ -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 %}"