Skip to content
Snippets Groups Projects
Commit 4550dccb authored by Brad Beam's avatar Brad Beam Committed by Matthew Mosesohn
Browse files

Fixing reference to vault leader url (#1569)

parent 01ce09f3
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,12 @@ ...@@ -22,6 +22,12 @@
inventory_hostname == groups.vault|first and inventory_hostname == groups.vault|first and
not vault_cluster_is_initialized not vault_cluster_is_initialized
# Set vault_leader_url for all nodes based on above
- name: vault | bootstrap
set_fact:
vault_leader_url: "{{ hostvars[groups.vault|first]['vault_leader_url'] }}"
when: not vault_cluster_is_initialized
# NOTE: The next 2 steps run against temp Vault and long-term Vault # NOTE: The next 2 steps run against temp Vault and long-term Vault
# Ensure PKI mount exists # Ensure PKI mount exists
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment