File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 71
71
notify :
72
72
- Restart SLURM service
73
73
74
+ # Install OpenHPC runtime
75
+ - name : Ensure selected OpenHPC packages are installed
76
+ yum :
77
+ name : " {{ openhpc_packages }}"
78
+ state : present
79
+
74
80
- name : Flush handlers
75
81
meta : flush_handlers
76
82
77
- # In case the service isn't running and the config hasn't changed to trigger
78
- # the handler, ensure it's running here.
79
- - name : Ensure Slurm services are running
80
- service :
81
- name : " {{ openhpc_slurm_service }}"
82
- state : " {{ 'started' if openhpc_slurm_service_enabled | bool else 'stopped' }}"
83
- when : openhpc_slurm_service is not none
84
-
85
83
# Munge state could be unchanged but the service is not running.
86
84
# Handle that here.
87
85
- name : Ensure Munge services are enabled and started
90
88
enabled : " {{ openhpc_slurm_service_enabled | bool }}"
91
89
state : " {{ 'started' if openhpc_slurm_service_enabled | bool else 'stopped' }}"
92
90
93
- # Install OpenHPC runtime
94
- - name : Ensure selected OpenHPC packages are installed
95
- yum :
96
- name : " {{ openhpc_packages }}"
97
- state : present
91
+ # In case the service isn't running and the config hasn't changed to trigger
92
+ # the handler, ensure it's running here.
93
+ - name : Ensure Slurm services are running
94
+ service :
95
+ name : " {{ openhpc_slurm_service }}"
96
+ state : " {{ 'started' if openhpc_slurm_service_enabled | bool else 'stopped' }}"
97
+ when : openhpc_slurm_service is not none
98
+
98
99
...
You can’t perform that action at this time.
0 commit comments