Compare commits

...

4 commits

Author SHA1 Message Date
L3D
27d6646b1d
Change power plan to high performance 2022-01-02 16:34:03 +01:00
L3D
f2262f3994
adding secound device 2022-01-01 22:22:12 +01:00
L3D
50d0c6e607
updating roles 2022-01-01 22:21:58 +01:00
L3D
e8efc6428e
Add name convention 2022-01-01 21:06:25 +01:00
11 changed files with 25 additions and 15 deletions

3
.gitmodules vendored
View file

@ -4,9 +4,6 @@
[submodule "roles/do1jlr.win_obs_setup"]
path = roles/do1jlr.win_obs_setup
url = https://backwesen.de/voc/win_ansible_role_obs_setup.git
[submodule "roles/do1jlr.win_remove_win_apps"]
path = roles/do1jlr.win_remove_win_apps
url = https://backwesen.de/voc/win_ansible_remove_win_apps.git
[submodule "roles/do1jlr.win_zeroconf"]
path = roles/do1jlr.win_zeroconf
url = https://backwesen.de/voc/win_ansible_role_zeroconf.git

View file

@ -67,6 +67,10 @@ ansible -m win_ping all
pip install pywinrm
```
Name convention
-----------------
Use ``obs-$name`` with any name of [My little Pony villans](https://villains.fandom.com/wiki/Category:My_Little_Pony_Villains).
Ad-hoc copy file example:
----------------------------
```bash

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

@ -1 +1 @@
Subproject commit 19d613bb4f68cf6d1a65481700ca34849ae742c1
Subproject commit 2492e0ef5a88869c89f3d82b6bebcc53619648f6

@ -1 +1 @@
Subproject commit c7de0373770c894b9b1e07f8794d6d5e8b94a1e2
Subproject commit b7067f073d13a71072158a97df0ccee24e9d1836

@ -1 +0,0 @@
Subproject commit abd181576e89ed0c2cb852c727384b94c618a0fd

View file

@ -9,4 +9,3 @@
- {role: do1jlr.win_parsec, tags: parsec}
- {role: do1jlr.win_synologydrive, tags: [synology, nas, synologydrive]}
- {role: do1jlr.win_streamdeck, tags: streamdeck}
- {role: do1jlr.win_remove_win_apps, tags: cleanup}