hac/ansible/deploy.yml
Ada 1f444bacaf
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add DHCP
2024-04-17 14:58:43 +02:00

27 lines
476 B
YAML

---
- name: Configure base
hosts: all
become: true
roles:
- role: dnf
when: ansible_facts['os_family'] == "RedHat"
- auditd
- fail2ban
- journald
- sshd
- role: timesyncd
when: ansible_facts['os_family'] == "Debian"
- role: ufw
when: ansible_facts['os_family'] == "Debian"
- name: Resolver
hosts: resolver
become: true
roles:
- knot_resolver
- name: DHCP
hosts: kea-dhcp
become: true
roles:
- kea_dhcp