Update uv and add avahi

This commit is contained in:
L3D 2026-02-28 01:42:29 +01:00
parent 5d21716541
commit 1920783fdc
No known key found for this signature in database
8 changed files with 44 additions and 1 deletions

3
.gitmodules vendored
View File

@ -13,3 +13,6 @@
[submodule "collections/ansible_collections/ansible/posix"]
path = collections/ansible_collections/ansible/posix
url = https://github.com/ansible-collections/ansible.posix.git
[submodule "collections/ansible_collections/l3d/avahi"]
path = collections/ansible_collections/l3d/avahi
url = https://github.com/roles-ansible/ansible_collection_avahi.git

@ -0,0 +1 @@
Subproject commit 841e95f18ae9eb16637cb7981434e3382f38ccb6

@ -1 +1 @@
Subproject commit 1e902495c4cb60bc575ad334430540387a1df4f6
Subproject commit 21a036f03757f9af3961441943eb54d857508b9c

6
group_vars/all/avahi.yml Normal file
View File

@ -0,0 +1,6 @@
---
avahi_daemon__services:
- service: 'SSH'
port: 22
protocol: 'any'
transport: 'tcp'

10
group_vars/all/users.yml Normal file
View File

@ -0,0 +1,10 @@
---
users__voc_users:
- name: l3d
state: 'present'
admin: true
password: ''
pubkeys: |
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPvvXN33GwkTF4ZOwPgF21Un4R2z9hWUuQt1qIfzQyhC
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAG65EdcM+JLv0gnzT9LcqVU47Pkw0SqiIg7XipXENi8
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJz7zEvUVgJJJsIgfG3izsqYcM22IaKz4jGVUbNRL2PX

View File

@ -5,6 +5,7 @@ description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"ansible>=13.4.0",
"ansible-core>=2.20.2",
"ansible-lint>=26.1.1",
"yamllint>=1.38.0",

View File

@ -3,3 +3,11 @@
hosts: localhost
roles:
- {role: do1jlr.ansible_version, tags: [version, always]}
- name: Setup obs
hosts: obs
roles:
- {role: l3d.voc.users, tags: [user]}
- {role: l3d.voc.dotfiles, tags: [user]}
- {role: l3d.avahi.client, tags: [avahi]}
- {role: l3d.avahi.daemon, tags: [avahi]}

14
uv.lock
View File

@ -6,6 +6,18 @@ resolution-markers = [
"python_full_version < '3.14'",
]
[[package]]
name = "ansible"
version = "13.4.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "ansible-core" },
]
sdist = { url = "https://files.pythonhosted.org/packages/e9/46/4f064be3a13f1239f259b3e6ebe94d52d609aac430eeaa6a0b36a5ca071d/ansible-13.4.0.tar.gz", hash = "sha256:6d741511abc1f724443aa16992fb615cc822a22da427ade925ff937ccd691eb1", size = 52775271, upload-time = "2026-02-24T17:37:24.69Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/96/62/3dff5689b6a6eb8d25d987507ab87660b76b0d87e152caf64ec045edac64/ansible-13.4.0-py3-none-any.whl", hash = "sha256:8c869fcc07954b53c5b125f1e914957cc7b541a92a7d512496207d80385a78eb", size = 55274148, upload-time = "2026-02-24T17:37:19.4Z" },
]
[[package]]
name = "ansible-compat"
version = "25.12.1"
@ -71,6 +83,7 @@ name = "arch-obs-setup"
version = "0.1.0"
source = { virtual = "." }
dependencies = [
{ name = "ansible" },
{ name = "ansible-core" },
{ name = "ansible-lint" },
{ name = "yamllint" },
@ -78,6 +91,7 @@ dependencies = [
[package.metadata]
requires-dist = [
{ name = "ansible", specifier = ">=13.4.0" },
{ name = "ansible-core", specifier = ">=2.20.2" },
{ name = "ansible-lint", specifier = ">=26.1.1" },
{ name = "yamllint", specifier = ">=1.38.0" },