xoxys.ucs/handlers/main.yml
Robert Kaussow 124e3902de
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
refactor: migrate to woodpecker
2024-09-25 21:30:11 +02:00

25 lines
565 B
YAML

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