From b1c1b04ed4d1c44dd7035aef10f0a78bf6e22952 Mon Sep 17 00:00:00 2001 From: Gregory Bloquel Date: Thu, 21 Dec 2023 10:37:32 +0100 Subject: [PATCH] fix(playbook/init): ensure hostvars exists --- playbooks/init.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/init.yml b/playbooks/init.yml index 8ebb83f..cc393fd 100644 --- a/playbooks/init.yml +++ b/playbooks/init.yml @@ -36,6 +36,8 @@ - "{{ _output_dir }}/group_vars/hashistack/secrets" - "{{ _output_dir }}/group_vars/hashistack_sre" - "{{ _output_dir }}/host_vars" + - "{{ _output_dir }}/host_vars/{{ hs_workspace }}-{{ hs_archi }}" + loop_control: loop_var: _current_dir