1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_etebase.git synced 2024-08-16 10:19:52 +02:00
ansible_role_etebase/handlers/main.yml
2022-11-12 18:32:49 +01:00

14 lines
404 B
YAML

---
- name: "Systemctl restart etebase.service"
become: true
ansible.builtin.service:
name: etebase.service
state: restarted
when: ansible_service_mgr == "systemd"
- name: "Systemctl restart webserver"
become: true
ansible.builtin.systemd:
name: "{{ etebase__webserver_service }}"
state: restarted
when: ansible_service_mgr == "systemd" and etebase__restart_webserver | bool