diff --git a/roles/bookstack/defaults/main.yml b/roles/bookstack/defaults/main.yml index d591b49..8c574a9 100644 --- a/roles/bookstack/defaults/main.yml +++ b/roles/bookstack/defaults/main.yml @@ -1,11 +1,11 @@ --- # Version to deploy -bookstack_version: '21.10.3' +bookstack_version: '21.11' # URL of the arhive bookstack_archive_url: https://github.com/BookStackApp/BookStack/archive/v{{ bookstack_version }}.tar.gz # Expected sha1 of the archive -bookstack_archive_sha1: 827a981cea9c33e0c892e66bbe1613a7524bdb41 +bookstack_archive_sha1: 5e468cffd7c1a44e3d927c621d9edf6a6af5aedd # Should ansible handle bookstack upgrades or just the inintial install bookstack_manage_upgrade: True diff --git a/roles/bookstack/tasks/conf.yml b/roles/bookstack/tasks/conf.yml index ae544b1..74fd9eb 100644 --- a/roles/bookstack/tasks/conf.yml +++ b/roles/bookstack/tasks/conf.yml @@ -31,13 +31,15 @@ - name: Migrate the database shell: echo yes | /bin/php{{ bookstack_php_version }} {{ bookstack_root_dir }}/app/artisan migrate - - name: Clear cache command: /bin/php{{ bookstack_php_version }} {{ bookstack_root_dir }}/app/artisan cache:clear - name: Clear views command: /bin/php{{ bookstack_php_version }} {{ bookstack_root_dir }}/app/artisan view:clear + - name: Regenerate search + command: /bin/php{{ bookstack_php_version }} {{ bookstack_root_dir }}/app/artisan bookstack:regenerate-search + become_user: "{{ bookstack_php_user }}" tags: bookstack diff --git a/roles/diagrams/defaults/main.yml b/roles/diagrams/defaults/main.yml index a2fa1ef..2d417bc 100644 --- a/roles/diagrams/defaults/main.yml +++ b/roles/diagrams/defaults/main.yml @@ -1,11 +1,11 @@ --- # Veresion of diagrams to deploy -diagrams_version: 15.6.5 +diagrams_version: 15.7.4 # URL of the WAR file to deploy diagrams_war_url: https://github.com/jgraph/drawio/releases/download/v{{ diagrams_version }}/draw.war # Expected sha1 of the WAR file -diagrams_war_sha1: acaa8fa823717da8d4336800c70edb9733dd9c5d +diagrams_war_sha1: 6ec509cba9c0cb7ed5a6872bcfc3711f6bfb1933 # root directory of the installation diagrams_root_dir: /opt/diagrams # Should ansible manage upgrades, or just initial install ?