gitea: backup and restore based on tags

This commit is contained in:
2023-02-03 15:40:59 -06:00
parent 06548bf135
commit bea9cb3592
9 changed files with 161 additions and 49 deletions

View File

@@ -23,12 +23,6 @@
force: no
notify: setup nginx
- name: Uninstall nginx config for git.{{ domain }}
file:
path: /etc/nginx/conf.d/git.{{ domain }}.conf
state: absent
notify: setup nginx
- name: Install nginx config for our Hidden Service
template:
src: templates/tor.conf

View File

@@ -1,9 +1,6 @@
---
- name: Setup certbot for {{ domain }}
shell: "certbot --nginx --non-interactive --agree-tos -m {{ contact_email }} -d {{ domain }}"
- name: Setup certbot for git.{{ domain }}
shell: "certbot --nginx --non-interactive --agree-tos -m {{ contact_email }} -d git.{{ domain }}"
- name: Setup certbot
shell: "certbot --nginx --non-interactive --agree-tos --email {{ contact_email }} -d {{ domain }} -d git.{{ domain }}"
- name: Reload Nginx
systemd: