24 lines
503 B
YAML
24 lines
503 B
YAML
|
---
|
||
|
- name: "Packages | Get installed packages"
|
||
|
ansible.builtin.package_facts:
|
||
|
manager: apt
|
||
|
|
||
|
- name: "Packages | Install packages"
|
||
|
ansible.builtin.apt:
|
||
|
pkg:
|
||
|
- fail2ban
|
||
|
- libsasl2-modules
|
||
|
- pflogsumm
|
||
|
- pfqueue
|
||
|
- postfix
|
||
|
- postfix-cdb
|
||
|
- postfix-pcre
|
||
|
- postfix-mta-sts-resolver
|
||
|
cache_valid_time: 3600
|
||
|
|
||
|
- name: "Packages | Install Unbound"
|
||
|
ansible.builtin.apt:
|
||
|
pkg:
|
||
|
- unbound
|
||
|
when: unbound_install is defined and unbound_install
|