diff --git a/linux/base-config-debian/roles/base-config-debian-os/handlers/main.yaml b/linux/base-config-debian/roles/base-config-debian-os/handlers/main.yaml index ead4f54..dcbe761 100644 --- a/linux/base-config-debian/roles/base-config-debian-os/handlers/main.yaml +++ b/linux/base-config-debian/roles/base-config-debian-os/handlers/main.yaml @@ -1,3 +1,4 @@ # apply reconfig and restart exim4 service to apply changes - name: apply reconfig - command: sudo dpkg-reconfigure -f noninteractive exim4-config \ No newline at end of file + command: sudo dpkg-reconfigure -f noninteractive exim4-config + register: exim4_conf \ No newline at end of file diff --git a/linux/base-config-debian/roles/base-config-debian-os/tasks/main.yaml b/linux/base-config-debian/roles/base-config-debian-os/tasks/main.yaml index 4915d94..7824af4 100644 --- a/linux/base-config-debian/roles/base-config-debian-os/tasks/main.yaml +++ b/linux/base-config-debian/roles/base-config-debian-os/tasks/main.yaml @@ -75,7 +75,6 @@ - name: exim4/use_split_config value: 'false' notify: apply reconfig - register: exim4_conf # Restart after reconfigure - name: restart exim4 service