This commit is contained in:
Ruben Blanco 2023-10-16 11:10:49 +02:00
parent 4bb87cdcfe
commit b99e693ea1
2 changed files with 8 additions and 10 deletions

View File

@ -1,4 +1,5 @@
# apply reconfig and restart exim4 service to apply changes
#- name: apply reconfig
# command: sudo dpkg-reconfigure -f noninteractive exim4-config
# register: exim4_conf
- name: apply reconfig
service:
name: exim4
state: restarted

View File

@ -74,14 +74,11 @@
value: "{{ ansible_nodename }}" # var to define survey(encuesta)
- name: exim4/use_split_config
value: 'false'
# notify: apply reconfig
# Restart after reconfigure
#- name: restart exim4 service
# service:
# name: exim4
# state: restarted
# when: exim4_conf.changed
# generate master config
- name: generate master config
command: update-exim4.conf
notify: apply reconfig
# Send mail to verify relay-host
#- name: sending mail to verify exim4 config works