diff --git a/roles/postfix/tasks/install/dns.yml b/roles/postfix/tasks/install/dns.yml index 124b3e824..e40edefee 100644 --- a/roles/postfix/tasks/install/dns.yml +++ b/roles/postfix/tasks/install/dns.yml @@ -5,6 +5,7 @@ dns_records: '{{ dns_records_main | selectattr("create", "equalto", true) | list }}' ansible.builtin.include_role: name: dns-record + tasks_from: install/main.yml tags: dns - name: Create the DNS entries for the backup @@ -13,4 +14,5 @@ dns_records: '{{ dns_records_backup | selectattr("create", "equalto", true) | list }}' ansible.builtin.include_role: name: dns-record + tasks_from: install/main.yml tags: dns