xoxys.ucs/handlers/main.yml

25 lines
565 B
YAML
Raw Normal View History

2018-08-04 20:58:11 +00:00
---
- name: Restart apache service
2024-09-25 19:30:11 +00:00
ansible.builtin.service:
2018-08-04 20:58:11 +00:00
name: apache2
state: restarted
2024-09-25 19:30:11 +00:00
enabled: True
2018-08-04 20:58:11 +00:00
listen: __ucs_apache_restart
2018-08-04 21:46:05 +00:00
when: ucs_custom_tls_apache2_enabled
2018-08-04 21:30:31 +00:00
- name: Restart dovecot service
2024-09-25 19:30:11 +00:00
ansible.builtin.service:
2018-08-04 21:30:31 +00:00
name: dovecot
state: restarted
2024-09-25 19:30:11 +00:00
enabled: True
2018-08-04 21:30:31 +00:00
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
2018-08-04 21:33:55 +00:00
- name: Restart postfix service
2024-09-25 19:30:11 +00:00
ansible.builtin.service:
2018-08-04 21:33:55 +00:00
name: postfix
state: restarted
2024-09-25 19:30:11 +00:00
enabled: True
2018-08-04 21:33:55 +00:00
listen: __ucs_postfix_restart
2018-08-04 21:46:05 +00:00
when: ucs_custom_tls_postfix_enabled