test
This commit is contained in:
parent
4bb87cdcfe
commit
b99e693ea1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue