Skip to content

Commit 36cf771

Browse files
committed
change name for compute-init enablement
1 parent 5455eec commit 36cf771

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ansible/roles/compute_init/files/compute-init.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
vars:
77
os_metadata: "{{ lookup('url', 'http://169.254.169.254/openstack/latest/meta_data.json') | from_json }}"
88
server_node_ip: "{{ os_metadata.meta.k3s_server }}"
9-
enable_slurmd: "{{ os_metadata.meta.enable_slurmd | default(false) | bool }}"
9+
enable_compute: "{{ os_metadata.meta.enable_compute | default(false) | bool }}"
1010
enable_resolv_conf: "{{ os_metadata.meta.enable_senable_resolv_conf | default(false) | bool }}"
1111
enable_etc_hosts: "{{ os_metadata.meta.enable_etc_hosts | default(false) | bool }}"
1212

@@ -19,10 +19,10 @@
1919
- name: Report skipping initialization if not compute node
2020
# meta: end_play produces no output
2121
debug:
22-
msg: "Skipping compute initialization: Metadata enable_slurmd is not true"
22+
msg: "Skipping compute initialization: Metadata enable_compute is not true"
2323

2424
- meta: end_play
25-
when: not enable_slurmd
25+
when: not enable_compute
2626

2727
- name: Ensure the mount directory exists
2828
file:
@@ -103,7 +103,7 @@
103103
# TODO: - name: Configure EESSI
104104

105105
# TODO: - name: Configure openhpc
106-
# NB: don't need conditional block on enable_slurmd as have already exited
106+
# NB: don't need conditional block on enable_compute as have already exited
107107
# if not the case
108108
- name: Write Munge key
109109
copy:

0 commit comments

Comments
 (0)