Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions tasks/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@
state: "{{ 'started' if openhpc_slurm_service_enabled | bool else 'stopped' }}"
when: openhpc_slurm_service is not none

# Munge state could be unchanged but the service is not running.
# Handle that here.
- name: Ensure Munge services are enabled and started
service:
name: munge
enabled: "{{ openhpc_slurm_service_enabled | bool }}"
state: "{{ 'started' if openhpc_slurm_service_enabled | bool else 'stopped' }}"

# Install OpenHPC runtime
- name: Ensure selected OpenHPC packages are installed
yum:
Expand Down