File tree Expand file tree Collapse file tree 2 files changed +10
-13
lines changed
environments/common/inventory Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -31,19 +31,16 @@ openhpc_packages_extra: []
31
31
openhpc_packages : " {{ openhpc_packages_default + openhpc_packages_extra }}"
32
32
openhpc_munge_key : " {{ vault_openhpc_mungekey | b64decode }}"
33
33
openhpc_login_only_nodes : login
34
- openhpc_config_default : >-
35
- {{
36
- {
37
- 'SlurmctldParameters': ['enable_configless'] +
38
- (['reboot_from_controller'] if groups['rebuild'] | length > 0 else []),
39
- 'TaskPlugin': 'task/cgroup,task/affinity'
40
- }
41
- | combine(
42
- {'RebootProgram': '/opt/slurm-tools/bin/slurm-openstack-rebuild'} if groups['rebuild'] | length > 0 else {}
43
- )
44
- }}
34
+ openhpc_config_default :
35
+ SlurmctldParameters :
36
+ - enable_configless
37
+ TaskPlugin : task/cgroup,task/affinity
38
+ openhpc_config_reboot :
39
+ RebootProgram : /opt/slurm-tools/bin/slurm-openstack-rebuild
40
+ SlurmctldParameters :
41
+ - reboot_from_controller
45
42
openhpc_config_extra : {}
46
- openhpc_config : " {{ openhpc_config_default | combine(openhpc_config_extra, list_merge='append') }}"
43
+ openhpc_config : " {{ openhpc_config_default | combine(openhpc_config_reboot if groups['rebuild'] | length > 0 else {}, openhpc_config_extra, list_merge='append') }}"
47
44
openhpc_state_save_location : " {{ appliances_state_dir + '/slurmctld' if appliances_state_dir is defined else '/var/spool' }}"
48
45
49
46
openhpc_install_type : ohpc # 'ohpc' or 'generic', see https://github.com/stackhpc/ansible-slurm-appliance/pull/326
Original file line number Diff line number Diff line change @@ -164,4 +164,4 @@ extra_packages
164
164
# Add builder to this group to enable automatically syncing of pulp during image build
165
165
166
166
[rebuild]
167
- # Enable rebuild of nodes on an OpenStack cloud; add 'control' group plus 'compute' group or a subset of it .
167
+ # Enable rebuild of nodes on an OpenStack cloud; add 'control' group.
You can’t perform that action at this time.
0 commit comments