diff --git a/roles/documize/defaults/main.yml b/roles/documize/defaults/main.yml index 9958a5f..e8871f6 100644 --- a/roles/documize/defaults/main.yml +++ b/roles/documize/defaults/main.yml @@ -1,11 +1,11 @@ --- # Version of cocumize to deploy -documize_version: 4.2.0 +documize_version: 4.2.2 # URL of the binary to install documize_bin_url: https://github.com/documize/community/releases/download/v{{ documize_version }}/documize-community-linux-amd64 # Expected sha1 of the binary -documize_bin_sha1: b14140e76df4af67e16df2aaf8bf78b90452aa64 +documize_bin_sha1: c82accfea29f1fa684d582b40c9a6389a2a39d51 # Should documize handle upgrades or only initial install ? documize_manage_upgrade: True diff --git a/roles/documize/tasks/archive_pre.yml b/roles/documize/tasks/archive_pre.yml index 6631278..7a0db2e 100644 --- a/roles/documize/tasks/archive_pre.yml +++ b/roles/documize/tasks/archive_pre.yml @@ -8,7 +8,7 @@ copy: src={{ documize_root_dir }}/bin/documize dest={{ documize_root_dir }}/archives/{{ documize_current_version }}/ remote_src=True tags: documize -- name: Backup the database +- name: Backup the database (PostgreSQL) command: > /usr/pgsql-14/bin/pg_dump --clean @@ -23,7 +23,7 @@ when: documize_db_engine == 'postgres' tags: documize -- name: Archive the database +- name: Backup the database (MySQL) mysql_db: state: dump name: "{{ documize_db_name }}"