Update Nextcloud role to include Hiddenservice tasks

This commit is contained in:
phil 2023-05-21 23:01:31 +02:00
parent 7f42bc9fd2
commit 63eb7d74f7
23 changed files with 282 additions and 244 deletions

View file

@ -1,22 +1,26 @@
---
- name: reload apache
service:
ansible.builtin.service:
name: apache2
state: reloaded
- name: restart apache
service:
name: apache2
state: restarted
ansible.builtin.service:
name: apache2
state: restarted
- name: Get certificate
ansible.builtin.command: dehydrated --cron -g
delegate_to: "{{ gateway_host }}"
- name: reload nginx
service:
ansible.builtin.service:
name: nginx
state: reloaded
delegate_to: "{{ gateway_host }}"
- name: restart fail2ban
service:
ansible.builtin.service:
name: fail2ban
state: restarted