Skip to content

Commit

Permalink
skip submit.yml task file on compute and service nodes
Browse files Browse the repository at this point in the history
 - submit.yml only sets up munged. compute.yml and service.yml already
   takes care of munge.
  • Loading branch information
martbhell committed Jun 30, 2016
1 parent 6298296 commit 8fa722d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ All variables should be defined in defaults/main.yml
All nodes run munge. Nodes which are part of the slurm\_compute host
group will additionally run slurmd. Nodes which are part of the
slurm\_service host group will additionally runs slurmctld and
slurmdbd.
slurmdbd. Nodes which are in neither of these two host groups are
assumed to be submit hosts.

You also need to add a mysql\_slurm_password: "PASSWORD" string
somewhere. This will be used to set a password for the slurm mysql
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
when: "'slurm_compute' in group_names and ansible_os_family == 'RedHat'"

- include: submit.yml
when: ansible_os_family == "RedHat"
when: "(ansible_os_family == 'RedHat') and ('slurm_compute' not in group_names) and ('slurm_service' not in group_names)"

0 comments on commit 8fa722d

Please sign in to comment.