Additional Jetstream fixes, launched what will hopefully be the first

"real" node
This commit is contained in:
Nate Coraor 2016-04-08 11:35:19 -04:00
parent 3e044168b3
commit de24942d59
2 changed files with 18 additions and 18 deletions

View File

@ -1,18 +1,19 @@
---
# FIXME: these are all broken (they need to be run only when a particular
# service is enabled on that host
#- name: reload slurmd
# service:
# name: "{{ slurmd_service_name }}"
# state: reloaded
#
#- name: reload slurmctld
# service:
# name: "{{ slurmctld_service_name }}"
# state: reloaded
#
#- name: reload slurmdbd
# service:
# name: "{{ slurmdbd_service_name }}"
# state: reloaded
- name: reload slurmd
service:
name: "{{ slurmd_service_name }}"
state: reloaded
when: "'slurmexechosts' in group_names"
- name: reload slurmctld
service:
name: "{{ slurmctld_service_name }}"
state: reloaded
when: "'slurmservers' in group_names"
- name: reload slurmdbd
service:
name: "{{ slurmdbd_service_name }}"
state: reloaded
when: "'slurmdbdservers' in group_names"

View File

@ -47,8 +47,7 @@
mode: 0444
notify:
- reload slurmd
# FIXME: notify only for slurm controllers...
#- reload slurmctld
- reload slurmctld
- name: Install slurmdbd.conf
template: