diff --git a/host-pottwal.yml b/host-pottwal.yml index 0521a7a..9c61864 100644 --- a/host-pottwal.yml +++ b/host-pottwal.yml @@ -378,16 +378,22 @@ ansible.builtin.stat: path: "{{ data_dir }}/redmine" register: redmine_dir + tags: + - redmine - name: Fail if redmine data dir does not exist ansible.builtin.fail: msg: "Redmine data dir is missing, please restore from the backup!" when: not redmine_dir.stat.exists + tags: + - redmine - name: Setup Redmine docker network docker_network: name: redminenet state: present internal: true + tags: + - redmine - name: Setup Redmine MySQL container docker_container: @@ -405,6 +411,8 @@ - "{{ data_dir }}/redmine/mysql:/var/lib/mysql" networks: - name: redminenet + tags: + - redmine - name: Setup Redmine container docker_container: @@ -429,6 +437,8 @@ networks: allow_more_present networks: - name: redminenet + tags: + - redmine - name: Setup proxy site "{{ redmine_domain_name }}" include_role: @@ -436,6 +446,8 @@ vars: site_name: "{{ redmine_domain_name }}" proxy_port: "{{ redmine_host_port }}" + tags: + - redmine - name: Ensure the uptime-kuma directories exist file: diff --git a/host_vars/pottwal.n39.eu/vars.yml b/host_vars/pottwal.n39.eu/vars.yml index c080ab0..c5771fb 100644 --- a/host_vars/pottwal.n39.eu/vars.yml +++ b/host_vars/pottwal.n39.eu/vars.yml @@ -29,7 +29,7 @@ hedgedoc_postgres_password: "{{ vault_hedgedoc_postgres_password }}" redmine_host_port: 8087 redmine_domain_name: redmine.n39.eu redmine_image: redmine:4.2.10 -redmine_mysql_image: mysql:5.7 +redmine_mysql_image: mysql:8.1 redmine_database: redmine redmine_database_password: "{{ vault_redmine_database_password }}"