diff --git a/tasks/packages.yml b/tasks/packages.yml index 2206f43..2aaddd3 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -13,9 +13,14 @@ - postfix - postfix-cdb - postfix-pcre - - postfix-mta-sts-resolver cache_valid_time: 3600 +- name: "Package | Install MTA-STS-Resolver" + ansible.builtin.apt: + pkg: + - postfix-mta-sts-resolver + when: postfix_type == "internet" + - name: "Packages | Install Unbound" ansible.builtin.apt: pkg: