mirror of
https://github.com/roles-ansible/ansible_role_etebase.git
synced 2024-08-16 10:19:52 +02:00
15 lines
404 B
YAML
15 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
|