From 61c3f524f0780a181d6b48d00ae76e08f335c83c Mon Sep 17 00:00:00 2001 From: vincent Date: Sat, 19 Nov 2022 18:10:36 +0100 Subject: [PATCH] modify ansible user --- group_vars/all/sssd | 2 ++ provisionning.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/group_vars/all/sssd b/group_vars/all/sssd index 8fdf75e..9650a7c 100644 --- a/group_vars/all/sssd +++ b/group_vars/all/sssd @@ -5,3 +5,5 @@ ldap_uri: "ldaps://ldap.ducamps.win" ldap_sudo_search_base: "ou=sudoers,dc=ducamps,dc=win" ldap_default_bind_dn : "uid=vaultserviceaccount,cn=users,dc=ducamps,dc=win" ldap_password : "{{lookup('hashi_vault', 'secret=secrets/data/ansible/other:vaulserviceaccount')}}" +userPassword: "{{lookup('hashi_vault', 'secret=secrets/data/ansible/user:userPassword')}}" + diff --git a/provisionning.yml b/provisionning.yml index 2173dde..23316d7 100644 --- a/provisionning.yml +++ b/provisionning.yml @@ -11,5 +11,5 @@ roles: - ansible_bootstrap -- remote_user: "{{ user.name }}" +- remote_user: "ansible" import_playbook: site.yml