Ansible playbook: mask avahi-daemon across all Ubuntu VMs #28
Labels
No Label
ai-changes-requested
ai-failed
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
infra-audit
monitoring
operations
proxmox
script
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/claude-home#28
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The avahi-daemon busy-loop bug was found on all 5 Ubuntu VMs during the audit, wasting ~1.7 CPU cores total. The immediate fix (masking on each VM) is being done manually. This issue creates an Ansible playbook to enforce the fix permanently and catch any new VMs.
Implementation
Use the Ansible controller at LXC 304 (10.10.0.232).
mask-avahi.ymltargeting all Ubuntu VMsSRE Notes
systemctl unmask avahi-daemonLabels
infra-audit,operationsPR #39 opened: #39
What was done:
ansible/playbooks/mask-avahi.ymltargeting thevms:physicalinventory groups (all 5 Ubuntu VMs already in the controller's inventory — no inventory changes needed)vm-management/scripts/cloud-init-user-data.yamlto mask avahi in theruncmdsection so future VMs are hardened from first bootTo deploy:
ssh ansiblethen run the playbook with--limit discord-botsfirst to test on one VM, then without--limitto roll out to all.