xoxys.ucs/handlers/main.yml

28 lines
559 B
YAML
Raw Normal View History

2018-08-04 20:58:11 +00:00
---
- name: Restart apache service
service:
name: apache2
state: restarted
enabled: yes
listen: __ucs_apache_restart
2018-08-04 21:46:05 +00:00
when: ucs_custom_tls_apache2_enabled
2018-08-04 20:58:11 +00:00
become: True
2018-08-04 21:30:31 +00:00
- name: Restart dovecot service
service:
name: dovecot
state: restarted
enabled: yes
listen: __ucs_dovecot_restart
2018-08-04 21:46:05 +00:00
when: ucs_custom_tls_dovecot_enabled
2018-08-04 21:30:31 +00:00
become: True
2018-08-04 21:33:55 +00:00
- name: Restart postfix service
service:
name: postfix
state: restarted
enabled: yes
listen: __ucs_postfix_restart
2018-08-04 21:46:05 +00:00
when: ucs_custom_tls_postfix_enabled
2018-08-04 21:33:55 +00:00
become: True