change record type to dkim
This commit is contained in:
parent
ce1745cd29
commit
7bbf3f7667
2 changed files with 15 additions and 15 deletions
|
@ -39,21 +39,21 @@
|
|||
backup: true
|
||||
notify: Restart OpenDKIM service
|
||||
|
||||
- name: Configure OpenDKIM domains
|
||||
lineinfile:
|
||||
path: /etc/opendkim.conf
|
||||
regexp: '^Domain '
|
||||
line: "Domain {{ domains|join(',') }}"
|
||||
backup: true
|
||||
notify: Restart OpenDKIM service
|
||||
# - name: Configure OpenDKIM domains
|
||||
# lineinfile:
|
||||
# path: /etc/opendkim.conf
|
||||
# regexp: '^Domain '
|
||||
# line: "Domain {{ mail_domains|join(',') }}"
|
||||
# backup: true
|
||||
# notify: Restart OpenDKIM service
|
||||
|
||||
- name: Configure OpenDKIM key file
|
||||
lineinfile:
|
||||
path: /etc/opendkim.conf
|
||||
regexp: '^KeyFile '
|
||||
line: "KeyFile /etc/dkimkeys/{{ domains[0] }}.private"
|
||||
backup: true
|
||||
notify: Restart OpenDKIM service
|
||||
# - name: Configure OpenDKIM key file
|
||||
# lineinfile:
|
||||
# path: /etc/opendkim.conf
|
||||
# regexp: '^KeyFile '
|
||||
# line: "KeyFile /etc/dkimkeys/{{ mail_domains[0] }}.private"
|
||||
# backup: true
|
||||
# notify: Restart OpenDKIM service
|
||||
|
||||
- name: Configure OpenDKIM selector
|
||||
lineinfile:
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
synthesio.ovh.domain:
|
||||
domain: "{{ item }}"
|
||||
value: "{{ dkim_key }}"
|
||||
record_type: "TXT"
|
||||
record_type: "DKIM"
|
||||
name: '_domainkey'
|
||||
record_ttl: 10
|
||||
append: true
|
||||
|
|
Loading…
Reference in a new issue