adding secound device
This commit is contained in:
parent
50d0c6e607
commit
f2262f3994
5 changed files with 19 additions and 8 deletions
|
@ -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
11
group_vars/obs/vars.yml
Normal 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') }}"
|
|
@ -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'
|
||||
|
|
6
host_vars/obs-snips/vars.yml
Normal file
6
host_vars/obs-snips/vars.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
# user for ansible login
|
||||
ansible_user: root
|
||||
|
||||
# OS language
|
||||
win_base_init__os_language: 'en'
|
|
@ -1,2 +1,3 @@
|
|||
[obs]
|
||||
obs-chrysalis ansible_host=obs-chrysalis.local
|
||||
obs-snips ansible_host=obs-snips.local
|
||||
|
|
Loading…
Reference in a new issue