prole/infrastructure/playbooks/site.yml
chrisfu e69b5f2008 ansible: replace no_swap role with swap role and enhance K3s setup
- Removed the `no_swap` role and replaced it with the new `swap` role for managing swap configurations.
- Updated the K3s role to dynamically detect the first available wired interface IP and validate it.
- Enhanced K3s installation by adding support for disabling SELinux RPM.
- Adjusted inventory and `site.yml` to align with the updated roles.
- Added `.vault_pass` to `.gitignore`.
- Updated Ansible configuration with result format compatibility for different versions.
2026-01-21 16:16:14 -08:00

30 lines
449 B
YAML

---
- name: Pi-hole DNS and resilience configuration
hosts: pihole
become: true
roles:
- pihole_dns
- name: Samba AD DNS reverse zones and PTRs
hosts: ad_dc
become: true
roles:
- samba_reverse_dns
- hosts: Linux_Hosts
become: true
roles:
- rsyslog
- name: Configure swap on K3s hosts
hosts: k3s_hosts
become: true
roles:
- swap
- name: K3s Cluster Setup
hosts: k3s_hosts
become: true
roles:
- k3s