From 7bbf3f7667ec4959271b549b032a094d3d9cf87f Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 18 Sep 2023 19:03:28 +0300 Subject: [PATCH] change record type to dkim --- tasks/configure.yml | 28 ++++++++++++++-------------- tasks/configure_ovh.yml | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index f9c5454..cd92bd8 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -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: diff --git a/tasks/configure_ovh.yml b/tasks/configure_ovh.yml index d87163d..71fec2c 100644 --- a/tasks/configure_ovh.yml +++ b/tasks/configure_ovh.yml @@ -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