hac/ansible/deploy.yml
Ada 46bbe11161
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Add UFW firewall for debian based distro
2024-04-17 11:26:47 +02:00

21 lines
405 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