xoxys.ucs/handlers/main.yml
Robert Kaussow f2c2363c5a
All checks were successful
continuous-integration/drone/push Build is passing
add missing become_user
2019-01-13 23:30:09 +01:00

31 lines
619 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
become_user: root
- name: Restart dovecot service
service:
name: dovecot
state: restarted
enabled: yes
listen: __ucs_dovecot_restart
when: ucs_custom_tls_dovecot_enabled
become: True
become_user: root
- name: Restart postfix service
service:
name: postfix
state: restarted
enabled: yes
listen: __ucs_postfix_restart
when: ucs_custom_tls_postfix_enabled
become: True
become_user: root