2024-03-24 22:12:56 +01:00
|
|
|
---
|
|
|
|
- name: Configure base
|
|
|
|
hosts: all
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- role: dnf
|
|
|
|
when: ansible_facts['os_family'] == "RedHat"
|
|
|
|
- auditd
|
|
|
|
- fail2ban
|
|
|
|
- journald
|
|
|
|
- sshd
|
|
|
|
- role: timesyncd
|
2024-04-17 11:19:14 +02:00
|
|
|
when: ansible_facts['os_family'] == "Debian"
|
|
|
|
- role: ufw
|
|
|
|
when: ansible_facts['os_family'] == "Debian"
|
2024-03-24 22:12:56 +01:00
|
|
|
|
|
|
|
- name: Resolver
|
|
|
|
hosts: resolver
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- knot_resolver
|
2024-04-17 14:58:43 +02:00
|
|
|
|
|
|
|
- name: DHCP
|
|
|
|
hosts: kea-dhcp
|
|
|
|
become: true
|
|
|
|
roles:
|
|
|
|
- kea_dhcp
|