Merge pull request 'chore(deps): update bitnami/dokuwiki:20230404 docker digest to 9350261' (!222) from renovate/bitnami-dokuwiki-20230404 into master

Reviewed-on: Netz39_Admin/netz39-infra-ansible#222
This commit is contained in:
Stefan Haun 2023-09-22 15:45:08 +02:00
commit 2c4758acf0

View file

@ -14,7 +14,7 @@
dokuwiki_port: 9005 dokuwiki_port: 9005
# This container is pinned, because there are issues # This container is pinned, because there are issues
# with backwards compatibility within the same tag! # with backwards compatibility within the same tag!
dokuwiki_image: bitnami/dokuwiki:20230404@sha256:e120182cabd285506fdd8bb356b9dd491c3a5c158948a8139f95bd71de8b21a7 dokuwiki_image: bitnami/dokuwiki:20230404@sha256:9350261bc0f5d5fdece01623b6e025242f3cf51415e67f20dbd6b3f5159431d2
discord_invite_domain: discord.netz39.de discord_invite_domain: discord.netz39.de
@ -128,16 +128,22 @@
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ data_dir }}/dokuwiki" path: "{{ data_dir }}/dokuwiki"
register: dokuwiki_dir register: dokuwiki_dir
tags:
- dokuwiki
- name: Fail if Dokuwiki data dir does not exist - name: Fail if Dokuwiki data dir does not exist
ansible.builtin.fail: ansible.builtin.fail:
msg: "Dokuwiki data dir is missing, please restore from the backup!" msg: "Dokuwiki data dir is missing, please restore from the backup!"
when: not dokuwiki_dir.stat.exists when: not dokuwiki_dir.stat.exists
tags:
- dokuwiki
- name: Set correct user for Dokuwiki data - name: Set correct user for Dokuwiki data
ansible.builtin.file: ansible.builtin.file:
path: "{{ data_dir }}/dokuwiki" path: "{{ data_dir }}/dokuwiki"
owner: "1001" # According to container config owner: "1001" # According to container config
recurse: yes recurse: yes
tags:
- dokuwiki
- name: Setup Dokuwiki Container - name: Setup Dokuwiki Container
docker_container: docker_container:
@ -155,6 +161,8 @@
- "{{ data_dir }}/dokuwiki:/bitnami/dokuwiki:rw" - "{{ data_dir }}/dokuwiki:/bitnami/dokuwiki:rw"
env: env:
TZ: "{{ timezone }}" TZ: "{{ timezone }}"
tags:
- dokuwiki
- name: Setup proxy site for Dokuwiki - name: Setup proxy site for Dokuwiki
include_role: include_role:
@ -162,6 +170,8 @@
vars: vars:
site_name: "{{ dokuwiki_domain }}" site_name: "{{ dokuwiki_domain }}"
proxy_port: "{{ dokuwiki_port }}" proxy_port: "{{ dokuwiki_port }}"
tags:
- dokuwiki
- name: Setup container for secondary FFMD DNS - name: Setup container for secondary FFMD DNS