ansible-role-postfix/tasks/packages.yml

24 lines
503 B
YAML
Raw Normal View History

2023-03-20 20:01:04 +01:00
---
- 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