Update to 2022-03-24 13:00

This commit is contained in:
Daniel Berteaud 2022-03-24 13:00:15 +01:00
parent caf2b5ab89
commit 7a692c3e44
5 changed files with 14 additions and 6 deletions

View File

@ -1,6 +1,6 @@
---
mvn_version: 3.8.4
mvn_version: 3.8.5
mvn_archive_url: https://miroir.univ-lorraine.fr/apache/maven/maven-3/{{ mvn_version }}/binaries/apache-maven-{{ mvn_version }}-bin.tar.gz
mvn_archive_sha1: 81a9f75f19aa7275152c262bcea1a77223b93445
mvn_archive_sha256: 88e30700f32a3f60e0d28d0f12a3525d29b7c20c72d130153df5b5d6d890c673
mvn_root_dir: /opt/maven

View File

@ -12,7 +12,7 @@
get_url:
url: "{{ mvn_archive_url }}"
dest: "{{ mvn_root_dir }}/tmp/"
checksum: sha1:{{ mvn_archive_sha1 }}
checksum: sha256:{{ mvn_archive_sha256 }}
- name: Extract maven archive
unarchive:

View File

@ -1,15 +1,15 @@
---
# Version to deploy
metabase_version: 0.42.2
metabase_version: 0.42.3
# URL to fetch the jar
metabase_jar_url: https://downloads.metabase.com/v{{ metabase_version }}/metabase.jar
# Expected sha256 of the jar
metabase_jar_sha256: d74f9b67a0017ffa377dbaad2426bd02cff2af72b69982d8b3f2c1596fe1455f
metabase_jar_sha256: 3a80abf84b968b1bf57200c14542a8a30ed9f4e2182feb2feb7c75883d29df82
# When building from source
metabase_archive_url: https://github.com/metabase/metabase/archive/refs/tags/v{{ metabase_version }}.tar.gz
# Expected sha256 of the archive
metabase_archive_sha256: b99f84e3c4ff0ffaf2023dd522a668fcbe8d6352746cc8e8f62e01df7bd9d4d1
metabase_archive_sha256: f0217b9649b1cf62f9b1762b9e9d8965b524817d27040426b1d164812877593f
# Should ansible handle upgrades ? If set to false, only the initial install (and the config) will be handled
metabase_manage_upgrade: True

View File

@ -1,5 +1,9 @@
---
- name: Link system CA as postgres root cert
file: src=/etc/pki/tls/cert.pem dest={{ metabase_root_dir }}/.postgresql/root.crt state=link
tags: metabase
- name: Deploy configuration
template: src=env.j2 dest={{ metabase_root_dir }}/etc/env group={{ metabase_user }} mode=640
notify: restart metabase

View File

@ -7,6 +7,10 @@
owner: "{{ metabase_user }}"
group: "{{ metabase_user }}"
- dir: "{{ metabase_root_dir }}/app"
- dir: "{{ metabase_root_dir }}/.postgresql"
owner: "{{ metabase_user }}"
group: "{{ metabase_user }}"
mode: 700
- dir: "{{ metabase_root_dir }}/tmp"
owner: "{{ metabase_user }}"
group: "{{ metabase_user }}"