Solved Matomo, Peertube, Nextcloud Bugs

This commit is contained in:
2025-02-21 08:59:07 +01:00
parent 10b2ead705
commit 0805929d41
11 changed files with 33 additions and 25 deletions

View File

@@ -1,11 +1,9 @@
- name: "include role receive certbot certificate"
include_role:
name: nginx-https-recieve-certificate
vars:
domain: "{{domains[application_id]}}"
- name: configure {{domains[application_id]}}.conf
- name: configure {{domain}}.conf
template:
src: "mastodon.conf.j2"
dest: "{{nginx.directories.http.servers}}{{domains[application_id]}}.conf"
dest: "{{nginx.directories.http.servers}}{{domain}}.conf"
notify: restart nginx

View File

@@ -3,11 +3,13 @@
include_role:
name: docker-central-database
- name: "include create-domains.yml"
- name: "include create-domains.yml for mastodon"
include_tasks: create-domains.yml
loop: "{{ [domain] + domains.mastodon_alternates }}"
loop: "{{ [domains.mastodon] + domains.mastodon_alternates }}"
loop_control:
loop_var: domain
vars:
http: "{{ ports.localhost.http[application_id] }}"
- name: "copy docker-compose.yml and env file"
include_tasks: copy-docker-compose-and-env.yml