ansible-role-nextcloud/handlers/main.yml

30 lines
586 B
YAML
Raw Normal View History

2020-12-03 15:52:14 +01:00
---
- name: reload apache
ansible.builtin.service:
2020-12-03 15:52:14 +01:00
name: apache2
state: reloaded
2020-12-03 23:14:27 +01:00
- name: restart apache
ansible.builtin.service:
name: apache2
state: restarted
- name: Get certificate
ansible.builtin.command: dehydrated --cron -g
delegate_to: "{{ gateway_host }}"
2020-12-03 15:52:14 +01:00
- name: reload nginx
ansible.builtin.service:
2020-12-03 15:52:14 +01:00
name: nginx
state: reloaded
2021-06-26 02:32:29 +02:00
delegate_to: "{{ gateway_host }}"
2020-12-03 15:52:14 +01:00
- name: restart fail2ban
ansible.builtin.service:
name: fail2ban
state: restarted
2023-02-25 23:42:38 +01:00
- name: Systemd daemon-reload
ansible.builtin.systemd:
daemon_reload: true