modify ansible user

This commit is contained in:
vincent 2022-11-19 18:10:36 +01:00
parent 5c835de390
commit 61c3f524f0
2 changed files with 3 additions and 1 deletions

View File

@ -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')}}"

View File

@ -11,5 +11,5 @@
roles:
- ansible_bootstrap
- remote_user: "{{ user.name }}"
- remote_user: "ansible"
import_playbook: site.yml