9 lines
359 B
YAML
9 lines
359 B
YAML
---
|
|
|
|
- name: Set DMARC TXT record
|
|
ansible.builtin.set_fact:
|
|
dmarc_txt_record: "_dmarc.{{ virtual_domain }}. IN TXT \"v=DMARC1; p=reject; pct=100; adkim=s; rua=mailto:postmaster@{{ virtual_domain }}\""
|
|
|
|
- name: Print DMARC TXT record for the DNS zone
|
|
ansible.builtin.debug:
|
|
msg: "Don't forget to add this to your DNS zone:\n{{ dmarc_txt_record }}"
|