diff --git a/README.md b/README.md index 113d682..9772c0a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Ansible Collection - ednxzu.hashistack -Documentation for the collection. +THIS REPOSITORY IS A WORK IN PROGRESS, IT IS NOWHERE NEAR FIT FOR PRODUCTION. diff --git a/playbooks/deploy.yml b/playbooks/deploy.yml index 3971a74..45e1610 100644 --- a/playbooks/deploy.yml +++ b/playbooks/deploy.yml @@ -16,7 +16,7 @@ - name: "Initialize vault cluster" ednxzu.hashistack.vault_init: - api_url: "http://127.0.0.1:8200" + api_url: "{{ hashi_vault_configuration['api_addr'] }}" key_shares: 3 key_threshold: 2 run_once: true @@ -42,7 +42,7 @@ - name: "Unseal the bootstrap node" ednxzu.hashistack.vault_unseal: - api_url: "http://127.0.0.1:8200" + api_url: "{{ hashi_vault_configuration['api_addr'] }}" key_shares: "{{ _vault_cluster_config['keys'] }}" max_retries: "{{ (_vault_cluster_config['keys'] | length) - 1 }}" run_once: true @@ -51,7 +51,7 @@ - name: "Unseal all vault nodes" ednxzu.hashistack.vault_unseal: - api_url: "http://127.0.0.1:8200" + api_url: "{{ hashi_vault_configuration['api_addr'] }}" key_shares: "{{ _vault_cluster_config['keys'] }}" max_retries: "{{ (_vault_cluster_config['keys'] | length) - 1 }}" retries: 5