modify ansible user
This commit is contained in:
parent
5c835de390
commit
61c3f524f0
@ -5,3 +5,5 @@ ldap_uri: "ldaps://ldap.ducamps.win"
|
|||||||
ldap_sudo_search_base: "ou=sudoers,dc=ducamps,dc=win"
|
ldap_sudo_search_base: "ou=sudoers,dc=ducamps,dc=win"
|
||||||
ldap_default_bind_dn : "uid=vaultserviceaccount,cn=users,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')}}"
|
ldap_password : "{{lookup('hashi_vault', 'secret=secrets/data/ansible/other:vaulserviceaccount')}}"
|
||||||
|
userPassword: "{{lookup('hashi_vault', 'secret=secrets/data/ansible/user:userPassword')}}"
|
||||||
|
|
||||||
|
@ -11,5 +11,5 @@
|
|||||||
roles:
|
roles:
|
||||||
- ansible_bootstrap
|
- ansible_bootstrap
|
||||||
|
|
||||||
- remote_user: "{{ user.name }}"
|
- remote_user: "ansible"
|
||||||
import_playbook: site.yml
|
import_playbook: site.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user