Compare commits
4 commits
d57fc51dfc
...
27d6646b1d
Author | SHA1 | Date | |
---|---|---|---|
27d6646b1d | |||
f2262f3994 | |||
50d0c6e607 | |||
e8efc6428e |
11 changed files with 25 additions and 15 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 19d613bb4f68cf6d1a65481700ca34849ae742c1
|
||||
Subproject commit 2492e0ef5a88869c89f3d82b6bebcc53619648f6
|
|
@ -1 +1 @@
|
|||
Subproject commit c7de0373770c894b9b1e07f8794d6d5e8b94a1e2
|
||||
Subproject commit b7067f073d13a71072158a97df0ccee24e9d1836
|
|
@ -1 +0,0 @@
|
|||
Subproject commit abd181576e89ed0c2cb852c727384b94c618a0fd
|
1
site.yml
1
site.yml
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue