xoxys.ucs/handlers/main.yml
2018-08-04 23:46:05 +02:00

28 lines
559 B
YAML

---
- name: Restart apache service
service:
name: apache2
state: restarted
enabled: yes
listen: __ucs_apache_restart
when: ucs_custom_tls_apache2_enabled
become: True
- name: Restart dovecot service
service:
name: dovecot
state: restarted
enabled: yes
listen: __ucs_dovecot_restart
when: ucs_custom_tls_dovecot_enabled
become: True
- name: Restart postfix service
service:
name: postfix
state: restarted
enabled: yes
listen: __ucs_postfix_restart
when: ucs_custom_tls_postfix_enabled
become: True