Skip to content

Commit 69f0ae6

Browse files
author
Matt Pryor
committed
Make partitions available to openstack group
1 parent 447869e commit 69f0ae6

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

group_vars/openhpc.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@ openhpc_cluster_name: "{{ cluster_name }}"
22

33
# Provision a single "standard" compute partition using the supplied
44
# node count and flavor
5-
openhpc_slurm_partitions:
6-
- name: "standard"
7-
count: "{{ compute_count }}"
8-
flavor_name: "{{ compute_flavor }}"
9-
default: "YES"
5+
openhpc_slurm_partitions: "{{ hostvars[groups['openstack'][0]]['openhpc_slurm_partitions'] }}"

group_vars/openstack.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ cluster_ssh_user: rocky
1919

2020
# Set the size of the state volume to metrics_db_maximum_size + 10
2121
state_volume_size: "{{ metrics_db_maximum_size + 10 }}"
22+
23+
# Provision a single "standard" compute partition using the supplied
24+
# node count and flavor
25+
openhpc_slurm_partitions:
26+
- name: "standard"
27+
count: "{{ compute_count }}"
28+
flavor_name: "{{ compute_flavor }}"
29+
default: "YES"

0 commit comments

Comments
 (0)