update base role to be more general

This commit is contained in:
L3D 2022-01-02 19:09:53 +01:00
parent 27d6646b1d
commit 23567274ec
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 4 additions and 5 deletions

View file

@ -1,3 +0,0 @@
---
# use chvoc store for gopass passwords
win_base_init__pass_prefix: 'chvoc/ansible/windows'

View file

@ -4,7 +4,9 @@ ansible_winrm_server_cert_validation: ignore
ansible_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + inventory_hostname + '/login/' + ansible_user) }}" ansible_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + inventory_hostname + '/login/' + ansible_user) }}"
# credetials # credetials
win_obs_init__password: "{{ lookup('community.general.passwordstore', win_base_init__pass_prefix + '/' + inventory_hostname + '/login/obs create=true length=16 nosymbols=true') }}" 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_obs_init__password: "{{ lookup('community.general.passwordstore', gopass_password_prefix + inventory_hostname + '/login/obs create=true length=16 nosymbols=true') }}"
# manage autologon # manage autologon
win_obs_init__autologon: true win_obs_init__autologon: true

@ -1 +1 @@
Subproject commit 2492e0ef5a88869c89f3d82b6bebcc53619648f6 Subproject commit ce8466eb48fdc03fe3d37e6cb62af85996a537da