Update to 2022-02-09 10:00

This commit is contained in:
Daniel Berteaud 2022-02-09 10:00:10 +01:00
parent ae1985cbdd
commit 04a2ea857c
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
--- ---
# Version of cocumize to deploy # Version of cocumize to deploy
documize_version: 4.2.0 documize_version: 4.2.2
# URL of the binary to install # URL of the binary to install
documize_bin_url: https://github.com/documize/community/releases/download/v{{ documize_version }}/documize-community-linux-amd64 documize_bin_url: https://github.com/documize/community/releases/download/v{{ documize_version }}/documize-community-linux-amd64
# Expected sha1 of the binary # Expected sha1 of the binary
documize_bin_sha1: b14140e76df4af67e16df2aaf8bf78b90452aa64 documize_bin_sha1: c82accfea29f1fa684d582b40c9a6389a2a39d51
# Should documize handle upgrades or only initial install ? # Should documize handle upgrades or only initial install ?
documize_manage_upgrade: True documize_manage_upgrade: True

View File

@ -8,7 +8,7 @@
copy: src={{ documize_root_dir }}/bin/documize dest={{ documize_root_dir }}/archives/{{ documize_current_version }}/ remote_src=True copy: src={{ documize_root_dir }}/bin/documize dest={{ documize_root_dir }}/archives/{{ documize_current_version }}/ remote_src=True
tags: documize tags: documize
- name: Backup the database - name: Backup the database (PostgreSQL)
command: > command: >
/usr/pgsql-14/bin/pg_dump /usr/pgsql-14/bin/pg_dump
--clean --clean
@ -23,7 +23,7 @@
when: documize_db_engine == 'postgres' when: documize_db_engine == 'postgres'
tags: documize tags: documize
- name: Archive the database - name: Backup the database (MySQL)
mysql_db: mysql_db:
state: dump state: dump
name: "{{ documize_db_name }}" name: "{{ documize_db_name }}"