Skip to content

Commit ad84877

Browse files
committed
fixed k3s token generation
1 parent 4f45701 commit ad84877

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ansible/roles/passwords/tasks/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
delegate_to: localhost
88
run_once: true
99

10+
- name: Get templated passwords from target environment
11+
ansible.builtin.include_vars:
12+
file: "{{ openhpc_passwords_output_path }}"
13+
name: templated_secrets
14+
1015
- name: Template k3s token to terraform
1116
template:
1217
src: k3s-token.auto.tfvars.json.j2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"k3s_token": "{{ vault_k3s_token }}"
2+
"k3s_token": "{{ templated_secrets.vault_k3s_token }}"
33
}

0 commit comments

Comments
 (0)