Skip to content

Commit 63a2e9a

Browse files
committed
move hostkey persistence after NFS available
1 parent b7e2dbc commit 63a2e9a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

slurm-infra.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@
2020
loop_control:
2121
loop_var: host
2222

23-
- name: Persist login hostkey across rebuilds
24-
hosts: login
25-
gather_facts: no
26-
become: yes
27-
roles:
28-
- persist_hostkeys
29-
3023
# Ensure that the secrets are generated and persisted on the control host
3124
- name: Generate and persist secrets
3225
hosts: control
@@ -66,6 +59,14 @@
6659
- import_playbook: vendor/stackhpc/ansible-slurm-appliance/ansible/iam.yml
6760
- import_playbook: vendor/stackhpc/ansible-slurm-appliance/ansible/monitoring.yml
6861

62+
- name: Persist login hostkey across rebuilds
63+
# Need NFS for this so can't do it before the appliance plays
64+
hosts: login
65+
gather_facts: no
66+
become: yes
67+
roles:
68+
- persist_hostkeys
69+
6970
# Configure the Zenith clients that are required
7071
# First, ensure that podman is installed on all hosts that will run Zenith clients
7172
- hosts: zenith,!podman

0 commit comments

Comments
 (0)