Browse Source

Fixing reference to vault leader url (#1569)

pull/1397/head
Brad Beam 7 years ago
committed by Matthew Mosesohn
parent
commit
4550dccb84
1 changed files with 6 additions and 0 deletions
  1. 6
      roles/vault/tasks/bootstrap/main.yml

6
roles/vault/tasks/bootstrap/main.yml

@ -22,6 +22,12 @@
inventory_hostname == groups.vault|first and
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
# Ensure PKI mount exists

Loading…
Cancel
Save