adding secound device

This commit is contained in:
L3D 2022-01-01 22:22:12 +01:00
parent 50d0c6e607
commit f2262f3994
Signed by: L3D
GPG Key ID: CD08445BFF4313D1
5 changed files with 19 additions and 8 deletions

View File

@ -1,4 +1,3 @@
--- ---
# use chvoc store for gopass passwords # use chvoc store for gopass passwords
win_base_init__pass_prefix: 'chvoc/ansible/windows' win_base_init__pass_prefix: 'chvoc/ansible/windows'
win_obs_init__pass_prefix: "{{ win_base_init__pass_prefix }}"

11
group_vars/obs/vars.yml Normal file
View File

@ -0,0 +1,11 @@
---
ansible_connection: winrm
ansible_winrm_server_cert_validation: ignore
ansible_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + inventory_hostname + '/login/' + ansible_user) }}"
# credetials
win_obs_init__password: "{{ lookup('community.general.passwordstore', win_base_init__pass_prefix + '/' + inventory_hostname + '/login/obs create=true length=16 nosymbols=true') }}"
# manage autologon
win_obs_init__autologon: true
win_obs_init__autologon_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + inventory_hostname + '/login/obs') }}"

View File

@ -1,12 +1,6 @@
--- ---
ansible_connection: winrm # user for ansible login
ansible_user: ansible ansible_user: ansible
ansible_winrm_server_cert_validation: ignore
ansible_password: "{{ lookup('community.general.passwordstore', 'ansible/windows/' + inventory_hostname + '/login/' + ansible_user) }}"
remove_win_apps__users:
- obs
- ansible
# OS language # OS language
win_base_init__os_language: 'de' win_base_init__os_language: 'de'

View File

@ -0,0 +1,6 @@
---
# user for ansible login
ansible_user: root
# OS language
win_base_init__os_language: 'en'

View File

@ -1,2 +1,3 @@
[obs] [obs]
obs-chrysalis ansible_host=obs-chrysalis.local obs-chrysalis ansible_host=obs-chrysalis.local
obs-snips ansible_host=obs-snips.local