From 41f2a5edd0068902f757da41378002fd30b93755 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sun, 31 Dec 2023 10:26:25 +0100 Subject: [PATCH] feat(readme): add WIP warning --- README.md | 2 +- playbooks/deploy.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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