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:
commit
2c4758acf0
1 changed files with 11 additions and 1 deletions
12
host-tau.yml
12
host-tau.yml
|
@ -14,7 +14,7 @@
|
|||
dokuwiki_port: 9005
|
||||
# This container is pinned, because there are issues
|
||||
# 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
|
||||
|
||||
|
@ -128,16 +128,22 @@
|
|||
ansible.builtin.stat:
|
||||
path: "{{ data_dir }}/dokuwiki"
|
||||
register: dokuwiki_dir
|
||||
tags:
|
||||
- dokuwiki
|
||||
- name: Fail if Dokuwiki data dir does not exist
|
||||
ansible.builtin.fail:
|
||||
msg: "Dokuwiki data dir is missing, please restore from the backup!"
|
||||
when: not dokuwiki_dir.stat.exists
|
||||
tags:
|
||||
- dokuwiki
|
||||
|
||||
- name: Set correct user for Dokuwiki data
|
||||
ansible.builtin.file:
|
||||
path: "{{ data_dir }}/dokuwiki"
|
||||
owner: "1001" # According to container config
|
||||
recurse: yes
|
||||
tags:
|
||||
- dokuwiki
|
||||
|
||||
- name: Setup Dokuwiki Container
|
||||
docker_container:
|
||||
|
@ -155,6 +161,8 @@
|
|||
- "{{ data_dir }}/dokuwiki:/bitnami/dokuwiki:rw"
|
||||
env:
|
||||
TZ: "{{ timezone }}"
|
||||
tags:
|
||||
- dokuwiki
|
||||
|
||||
- name: Setup proxy site for Dokuwiki
|
||||
include_role:
|
||||
|
@ -162,6 +170,8 @@
|
|||
vars:
|
||||
site_name: "{{ dokuwiki_domain }}"
|
||||
proxy_port: "{{ dokuwiki_port }}"
|
||||
tags:
|
||||
- dokuwiki
|
||||
|
||||
|
||||
- name: Setup container for secondary FFMD DNS
|
||||
|
|
Loading…
Reference in a new issue