Update for EL8
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Adrien Reslinger 2021-03-18 00:07:14 +01:00
parent 5e69465772
commit d7ce4b38c4
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
3 changed files with 14 additions and 3 deletions

View file

@ -8,6 +8,14 @@
# - postfix_mydestination is defined # - postfix_mydestination is defined
# register: certificat_changed # register: certificat_changed
- name: Install Certificat
include_role:
name: lego
# vars:
# certbot_certname: "{{ postfix_myhostname }}"
when:
- postfix_mydestination is defined
- name: Include tasks for postgrey - name: Include tasks for postgrey
include_tasks: postgrey.yml include_tasks: postgrey.yml
when: when:

View file

@ -10,11 +10,11 @@
## See /usr/share/doc/opendkim/INSTALL for detailed instructions. ## See /usr/share/doc/opendkim/INSTALL for detailed instructions.
## DEPRECATED CONFIGURATION OPTIONS ## DEPRECATED CONFIGURATION OPTIONS
## ##
## The following configuration options are no longer valid. They should be ## The following configuration options are no longer valid. They should be
## removed from your existing configuration file to prevent potential issues. ## removed from your existing configuration file to prevent potential issues.
## Failure to do so may result in opendkim being unable to start. ## Failure to do so may result in opendkim being unable to start.
## ##
## Removed in 2.10.0: ## Removed in 2.10.0:
## AddAllSignatureResults ## AddAllSignatureResults
## ADSPAction ## ADSPAction
@ -34,7 +34,11 @@ AutoRestart Yes
AutoRestartRate 10/1h AutoRestartRate 10/1h
## Specifies the path to the process ID file. ## Specifies the path to the process ID file.
{% if ansible_os_family == "RedHat" and ansible_distribution_major_version == '7' %}
PidFile /var/run/opendkim/opendkim.pid PidFile /var/run/opendkim/opendkim.pid
{% elif ansible_os_family == "RedHat" and ansible_distribution_major_version == '8' %}
PidFile /run/opendkim/opendkim.pid
{% endif %}
## Selects operating modes. Valid modes are s (sign) and v (verify). Default is v. ## Selects operating modes. Valid modes are s (sign) and v (verify). Default is v.
## Must be changed to s (sign only) or sv (sign and verify) in order to sign outgoing ## Must be changed to s (sign only) or sv (sign and verify) in order to sign outgoing

View file

@ -1,4 +1,3 @@
##
## opendmarc.conf -- configuration file for OpenDMARC filter ## opendmarc.conf -- configuration file for OpenDMARC filter
## ##
## Copyright (c) 2012-2015, The Trusted Domain Project. All rights reserved. ## Copyright (c) 2012-2015, The Trusted Domain Project. All rights reserved.