Skip to content

Commit 8ab12e9

Browse files
wtripp180901sjpb
andauthored
Passwords role now reads variables into top level vars
Co-authored-by: Steve Brasier <[email protected]>
1 parent 54910a1 commit 8ab12e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ansible/roles/passwords/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
run_once: true
99

1010
- name: Get templated passwords from target environment
11+
# inventory group/host vars created in a play cannot be accessed in the same play, even after meta: refresh_inventory
1112
ansible.builtin.include_vars:
1213
file: "{{ openhpc_passwords_output_path }}"
13-
name: templated_secrets
1414

1515
- name: Template k3s token to terraform
1616
template:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"k3s_token": "{{ templated_secrets.vault_k3s_token }}"
2+
"k3s_token": "{{ vault_k3s_token }}"
33
}

0 commit comments

Comments
 (0)