Install bonjour on windows

This commit is contained in:
L3D 2024-01-14 21:24:12 +01:00
parent aaee842a6f
commit 0ec50e6973
Signed by: l3d
GPG key ID: CD08445BFF4313D1
8 changed files with 41 additions and 0 deletions

2
.gitignore vendored
View file

@ -1,3 +1,5 @@
# Venv
ansible/
# ---> Vim # ---> Vim
# Swap # Swap
[._]*.s[a-v][a-z] [._]*.s[a-v][a-z]

6
.gitmodules vendored Normal file
View file

@ -0,0 +1,6 @@
[submodule "roles/win_zeroconf"]
path = roles/win_zeroconf
url = https://git.l3d.ch/voc/win_ansible_role_zeroconf.git
[submodule "roles/l3d.ansible_version"]
path = roles/l3d.ansible_version
url = https://github.com/roles-ansible/ansible_role_versioncheck.git

15
ansible.cfg Normal file
View file

@ -0,0 +1,15 @@
[defaults]
inventory = ./hosts.ini
retry_files_enabled = false
nocows = true
log_path = $HOME/.ansible/ansible.log
forks = 20
gathering = smart
fact_caching = jsonfile
fact_caching_connection = $HOME/.ansible/facts
host_key_checking = 'accept-new'
[passwordstore_lookup]
backend = gopass

3
group_vars/all.yml Normal file
View file

@ -0,0 +1,3 @@
---
ansible_connection: 'ssh'
ansible_shell_type: 'powershell'

2
hosts.ini Normal file
View file

@ -0,0 +1,2 @@
[desktop]
twr.local

@ -0,0 +1 @@
Subproject commit 2bf5d7c4369a8213b42829b14f78920e9906d099

1
roles/win_zeroconf Submodule

@ -0,0 +1 @@
Subproject commit 59c93bba3470d8be65e823cf2df013f4035dd8b3

11
site.yml Normal file
View file

@ -0,0 +1,11 @@
---
- name: Check if ansible is not to old
hosts: localhost
roles:
- {role: l3d.ansible_version, tags: [default, version, default, always], gather_facts: false}
- name: Deploy windows users and basic config
hosts: desktop
roles:
- {role: win_zeroconf, tags: zeroconf}