mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 10:13:26 +02:00
Update to 2022-02-15 12:00
This commit is contained in:
parent
568e2e4afc
commit
dc562949e6
@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
# Version of cocumize to deploy
|
# Version of cocumize to deploy
|
||||||
documize_version: 4.2.2
|
documize_version: 4.2.3
|
||||||
# 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: c82accfea29f1fa684d582b40c9a6389a2a39d51
|
documize_bin_sha256: d6156eccaf6e6b2bdf3ffc03595fdd95edffa67bebc01720386e8902957a4798
|
||||||
|
|
||||||
# Should documize handle upgrades or only initial install ?
|
# Should documize handle upgrades or only initial install ?
|
||||||
documize_manage_upgrade: True
|
documize_manage_upgrade: True
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
get_url:
|
get_url:
|
||||||
url: "{{ documize_bin_url }}"
|
url: "{{ documize_bin_url }}"
|
||||||
dest: "{{ documize_root_dir }}/bin/documize"
|
dest: "{{ documize_root_dir }}/bin/documize"
|
||||||
checksum: sha1:{{ documize_bin_sha1 }}
|
checksum: sha256:{{ documize_bin_sha256 }}
|
||||||
mode: 755
|
mode: 755
|
||||||
when: documize_install_mode != 'none'
|
when: documize_install_mode != 'none'
|
||||||
notify: restart documize
|
notify: restart documize
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
element_id: element
|
element_id: element
|
||||||
|
|
||||||
# Version to deploy, and expected sha256
|
# Version to deploy, and expected sha256
|
||||||
element_version: 1.10.2
|
element_version: 1.10.3
|
||||||
# sha1sum of the tar.gz
|
# sha1sum of the tar.gz
|
||||||
element_archive_sha256: 37d92f4b6ea038fb9b29815396b634ab9b6107e8d84de8a5ba3678a38811b1e8
|
element_archive_sha256: 1ca3dd68794c9384b157241e0f3bd8e3ecc284ad3a7cdb639f8811b7c33a86a4
|
||||||
|
|
||||||
# Where to install element
|
# Where to install element
|
||||||
element_root_dir: /opt/matrix/element
|
element_root_dir: /opt/matrix/element
|
||||||
|
@ -11,11 +11,11 @@
|
|||||||
# MaxUsers = "9"
|
# MaxUsers = "9"
|
||||||
# Mode = "subscription"
|
# Mode = "subscription"
|
||||||
# etc...
|
# etc...
|
||||||
seafile_version: "{{ seafile_license is defined | ternary('9.0.4','9.0.2') }}"
|
seafile_version: "{{ seafile_license is defined | ternary('9.0.4','9.0.3') }}"
|
||||||
|
|
||||||
# Archive URL and sha1 are only used for the community version
|
# Archive URL and sha1 are only used for the community version
|
||||||
seafile_archive_url: https://s3.eu-central-1.amazonaws.com/download.seadrive.org/seafile-server_{{ seafile_version }}_x86-64.tar.gz
|
seafile_archive_url: https://s3.eu-central-1.amazonaws.com/download.seadrive.org/seafile-server_{{ seafile_version }}_x86-64.tar.gz
|
||||||
seafile_archive_sha1: f93e32639d735e8eb8201139d5d962cd4067e1c2
|
seafile_archive_sha256: e5e518b53486596c238e8c6e236c64384698aa8ac428150e87ad7cf4c00ba82a
|
||||||
|
|
||||||
seafile_root_dir: /opt/seafile
|
seafile_root_dir: /opt/seafile
|
||||||
seafile_data_dir: "{{ seafile_root_dir }}/data"
|
seafile_data_dir: "{{ seafile_root_dir }}/data"
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
get_url:
|
get_url:
|
||||||
url: "{{ seafile_archive_url }}"
|
url: "{{ seafile_archive_url }}"
|
||||||
dest: "{{ seafile_root_dir }}/tmp/seafile-server_{{ seafile_version }}_x86-64.tar.gz"
|
dest: "{{ seafile_root_dir }}/tmp/seafile-server_{{ seafile_version }}_x86-64.tar.gz"
|
||||||
checksum: "sha1:{{ seafile_archive_sha1 }}"
|
checksum: "sha256:{{ seafile_archive_sha256 }}"
|
||||||
when:
|
when:
|
||||||
- seafile_install_mode != 'none'
|
- seafile_install_mode != 'none'
|
||||||
- seafile_license is not defined
|
- seafile_license is not defined
|
||||||
|
@ -5,7 +5,9 @@
|
|||||||
loop:
|
loop:
|
||||||
- seafile
|
- seafile
|
||||||
- seahub
|
- seahub
|
||||||
when: seafile_install_mode != 'upgrade' # We need to run upgrade script manually
|
# Only start services when not upgrading, or upgrading from the same major version
|
||||||
|
# On major version upgrades, we need to run upgrade scripts manually
|
||||||
|
when: seafile_install_mode != 'upgrade' or (seafile_current_version is defined and seafile_current_version | regex_replace('^(\d+)\..*','\\1') == seafile_version | regex_replace('^(\d+)\..*','\\1'))
|
||||||
tags: seafile
|
tags: seafile
|
||||||
|
|
||||||
- name: Start and enable timers
|
- name: Start and enable timers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user