Add Debian/Official Docker repo toggle

- Default docker_official toggle to false (for now)
- Preempt MariaDB restart before container restarts
- Start containers in a handler
This commit is contained in:
2023-10-22 11:33:05 -04:00
parent 5b09029239
commit 7f91b24adb
8 changed files with 96 additions and 29 deletions

View File

@@ -71,9 +71,3 @@
src: fail2ban-jail.conf.j2
dest: /etc/fail2ban/jail.d/gitea.conf
notify: restart_fail2ban
- name: Start and enable Gitea service
ansible.builtin.service:
name: "{{ docker_compose_service }}@{{ gitea_name }}"
state: started
enabled: true