hac/ansible/deploy.yml
Ada 30cd1289c0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add knot authoritative dns
2024-04-18 20:42:26 +02:00

34 lines
552 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
- name: Knot
hosts: dns-authoritative
become: true
roles:
- knot