From a4319735dca846ac890c5be6adf288e489466cbf Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 15 Sep 2023 22:20:06 +0000 Subject: [PATCH 1/2] chore(deps): update postgres docker tag to v16 --- host_vars/pottwal.n39.eu/vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host_vars/pottwal.n39.eu/vars.yml b/host_vars/pottwal.n39.eu/vars.yml index db038db..6e42d66 100644 --- a/host_vars/pottwal.n39.eu/vars.yml +++ b/host_vars/pottwal.n39.eu/vars.yml @@ -23,7 +23,7 @@ shlink_initial_api_key: "{{ vault_shlink_initial_api_key }}" hedgedoc_host_port: 8084 hedgedoc_domain_name: pad.n39.eu hedgedoc_image: quay.io/hedgedoc/hedgedoc:1.9.9 -hedgedoc_db_image: postgres:11.21-alpine +hedgedoc_db_image: postgres:16.0-alpine hedgedoc_postgres_password: "{{ vault_hedgedoc_postgres_password }}" redmine_host_port: 8087 From 6afa218384d234e4f0f6f4f5e6db891cdddff41d Mon Sep 17 00:00:00 2001 From: David Kilias Date: Sun, 17 Sep 2023 17:58:39 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB=20add=20a?= =?UTF-8?q?nsible=20tag=20to=20hedgedoc=20jobs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- host-pottwal.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/host-pottwal.yml b/host-pottwal.yml index cc73a85..0521a7a 100644 --- a/host-pottwal.yml +++ b/host-pottwal.yml @@ -241,10 +241,14 @@ ansible.builtin.stat: path: "{{ data_dir }}/hedgedoc" register: hedgedoc_dir + tags: + - hedgedoc - name: Fail if hedgedoc data dir does not exist ansible.builtin.fail: msg: "hedgedoc data dir is missing, please restore from the backup!" when: not hedgedoc_dir.stat.exists + tags: + - hedgedoc - name: Ensure the hedgedoc directories exist file: @@ -256,12 +260,16 @@ mode: "0700" - path: "{{ data_dir }}/hedgedoc/data/uploads" mode: "0755" + tags: + - hedgedoc - name: Setup docker network docker_network: name: hedgedocnet state: present internal: true + tags: + - hedgedoc - name: Install HedgeDoc database container docker_container: @@ -280,6 +288,8 @@ - "{{ data_dir }}/hedgedoc/data/database:/var/lib/postgresql/data" networks: - name: hedgedocnet + tags: + - hedgedoc - name: Ensure container for hedgedoc is running docker_container: @@ -310,6 +320,8 @@ networks: allow_more_present networks: - name: hedgedocnet + tags: + - hedgedoc - name: Setup proxy site "{{ hedgedoc_domain_name }}" include_role: @@ -317,6 +329,8 @@ vars: site_name: "{{ hedgedoc_domain_name }}" proxy_port: "{{ hedgedoc_host_port }}" + tags: + - hedgedoc - name: Ensure the influxdb directories exist file: