improve ansible gopass

This commit is contained in:
L3D 2022-12-29 00:59:30 +01:00
parent aa7431f729
commit b194632a44
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 3 additions and 3 deletions

View file

@ -12,4 +12,4 @@ fact_caching_connection = $HOME/.ansible/facts
[passwordstore_lookup] [passwordstore_lookup]
backend = gopass backend = gopass
directory = '~/.local/share/gopass/stores/root' directory = '~/.local/share/gopass/stores/chvoc'

View file

@ -15,7 +15,7 @@ ansible_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/w
# credetials # credetials
gopass_password_prefix: 'chvoc/ansible/windows/' gopass_password_prefix: 'chvoc/ansible/windows/'
win_base_init__created_user_password: "{{ lookup('community.general.passwordstore', gopass_password_prefix + inventory_hostname + '/login/ansible create=true length=64 nosymbols=true') }}" win_base_init__created_user_password: "{{ lookup('community.general.passwordstore', gopass_password_prefix + inventory_hostname + '/login/ansible create=true length=64 nosymbols=true') }}"
win_obs_init__password: "{{ lookup('community.general.passwordstore', gopass_password_prefix + inventory_hostname + '/login/obs create=true length=16 nosymbols=true') }}" win_obs_init__password: "{{ lookup('community.general.passwordstore', gopass_password_prefix + inventory_hostname + '/login/voc create=true length=8 nosymbols=true') }}"
# manage autologon # manage autologon
win_obs_init__autologon: true win_obs_init__autologon: true

@ -1 +1 @@
Subproject commit a000515372e64202a5ecad7f6a3162b6dfaabf1b Subproject commit 6b86e9d710ed073088e82b4d0b343dc932cb2920