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
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_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
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-chrysalis ansible_host=obs-chrysalis.local
obs-snips ansible_host=obs-snips.local