From 3db0616a170b36e567eba69c6f1e640fb1b34ac6 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 13 Sep 2022 19:50:33 +0200 Subject: [PATCH] provisionning dedicated role without call site playbook --- ansible/provisionning.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ansible/provisionning.yml b/ansible/provisionning.yml index 2173dde..29f81b1 100644 --- a/ansible/provisionning.yml +++ b/ansible/provisionning.yml @@ -1,6 +1,8 @@ --- - hosts: all remote_user: root + vars: + provissionning_default_root: "{{ lookup('hashi_vault','secret=secrets/data/ansible/user:root') }}" roles: - ansible-arch-provissionning @@ -11,5 +13,5 @@ roles: - ansible_bootstrap -- remote_user: "{{ user.name }}" - import_playbook: site.yml + #- remote_user: "{{ user.name }}" + #import_playbook: site.yml