From 370fc65b23656588b928eada79cb5d8e468bcbbf Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Fri, 3 May 2024 00:34:11 +0200 Subject: [PATCH] feat: generate credentials.yml from template --- playbooks/templates/credentials.yml.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 playbooks/templates/credentials.yml.j2 diff --git a/playbooks/templates/credentials.yml.j2 b/playbooks/templates/credentials.yml.j2 new file mode 100644 index 0000000..662a7bc --- /dev/null +++ b/playbooks/templates/credentials.yml.j2 @@ -0,0 +1,8 @@ +--- +consul: + root_token: + secret_id: "{{ _consul_root_token }}" + tokens: + agent: "{{ _consul_agents_token }}" +nomad: + root_token: "{{ _nomad_root_token }}"