diff options
Diffstat (limited to 'tools/docker-compose/ansible/roles/vault/tasks/unseal.yml')
-rw-r--r-- | tools/docker-compose/ansible/roles/vault/tasks/unseal.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/docker-compose/ansible/roles/vault/tasks/unseal.yml b/tools/docker-compose/ansible/roles/vault/tasks/unseal.yml index e0cb3c4a2a..e34ca632bc 100644 --- a/tools/docker-compose/ansible/roles/vault/tasks/unseal.yml +++ b/tools/docker-compose/ansible/roles/vault/tasks/unseal.yml @@ -1,11 +1,15 @@ --- +- name: Set vault_addr + include_tasks: set_vault_addr.yml + - name: Load vault keys include_vars: file: "{{ vault_file }}" - name: Unseal the vault flowerysong.hvault.seal: - vault_addr: "http://localhost:1234" + vault_addr: "{{ vault_addr_from_host }}" + validate_certs: false state: unsealed key: "{{ item }}" loop: |