update sshd

This commit is contained in:
L3D 2022-12-29 18:01:43 +01:00
parent 421d84fa4c
commit 91dd618b25
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 9 additions and 3 deletions

View file

@ -1,6 +1,7 @@
---
# user for ansible login
ansible_user: ansible
voc_user: voc
# language options (important)
win_base_init__os_language: 'en'
@ -17,11 +18,16 @@ ansible_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/w
# credetials
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/voc create=true length=8 nosymbols=true') }}"
win_obs_init__password: "{{ lookup('community.general.passwordstore', gopass_password_prefix + inventory_hostname + '/login/' + voc_user + ' create=true length=8 nosymbols=true') }}"
# manage autologon
win_obs_init__autologon: true
win_obs_init__autologon_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + inventory_hostname + '/login/voc') }}"
win_obs_init__autologon_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + inventory_hostname + '/login/' + voc_user) }}"
# users
win_sshd_otheruser: "{{ voc_user }}"
win_sshd_otheruserkeys: true
win_sshd_otherusepassword: "{{ win_obs_init__autologon_password }}"
# define obs szene
win_obs_szene__project: 'swiss_python_summit_2022'

@ -1 +1 @@
Subproject commit edd671a7bdc3c5961cb551e9859162aab345d87c
Subproject commit ca6c4c26f72a7cb07c6ae47792c50d20c0939b15