update sshd
This commit is contained in:
parent
421d84fa4c
commit
91dd618b25
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
# user for ansible login
|
# user for ansible login
|
||||||
ansible_user: ansible
|
ansible_user: ansible
|
||||||
|
voc_user: voc
|
||||||
|
|
||||||
# language options (important)
|
# language options (important)
|
||||||
win_base_init__os_language: 'en'
|
win_base_init__os_language: 'en'
|
||||||
|
@ -17,11 +18,16 @@ 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/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
|
# manage autologon
|
||||||
win_obs_init__autologon: true
|
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
|
# define obs szene
|
||||||
win_obs_szene__project: 'swiss_python_summit_2022'
|
win_obs_szene__project: 'swiss_python_summit_2022'
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit edd671a7bdc3c5961cb551e9859162aab345d87c
|
Subproject commit ca6c4c26f72a7cb07c6ae47792c50d20c0939b15
|
Loading…
Reference in New Issue