mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2023-06-13 14:00
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
# You can set it to a number or a simple string (no special chars)
|
||||
kimai_id: 1
|
||||
# Kimai version to deploy
|
||||
kimai_version: '1.30.11'
|
||||
kimai_version: '2.0.26'
|
||||
|
||||
# URL of the archive
|
||||
kimai_archive_url: https://github.com/kevinpapst/kimai2/archive/refs/tags/{{ kimai_version }}.tar.gz
|
||||
# Expected sha256 of the archive
|
||||
kimai_archive_sha256: 0800ed6321bb5ec1e3fbd984a1b44b5d6adb92ca16475a7194f4d6835139f30b
|
||||
kimai_archive_sha256: 70349acadfb01788406a17f546d35f5b3270f5b4f09c7eb57cfc8d3f5e23fb50
|
||||
|
||||
# Directory where kimai will be installed
|
||||
kimai_root_dir: /opt/kimai_{{ kimai_id }}
|
||||
@@ -21,7 +21,7 @@ kimai_manage_upgrade: True
|
||||
# Will be created
|
||||
kimai_php_user: php-kimai_{{ kimai_id }}
|
||||
# PHP version under which kimai will run
|
||||
kimai_php_version: 81
|
||||
kimai_php_version: 82
|
||||
# Or you can specify here the name of a custom PHP FPM pool. See the httpd_php role
|
||||
# bookstack_php_fpm_pool: custom_kimai
|
||||
|
||||
|
@@ -43,10 +43,10 @@
|
||||
block:
|
||||
|
||||
- name: Update the database
|
||||
command: /bin/php{{ kimai_php_version }} {{ kimai_root_dir }}/app/bin/console kimai:update -n
|
||||
command: /bin/php{{ kimai_php_version }} -d memory_limit=512M {{ kimai_root_dir }}/app/bin/console kimai:update -n
|
||||
|
||||
- name: Clear kimai cache
|
||||
command: /bin/php{{ kimai_php_version }} {{ kimai_root_dir }}/app/bin/console kimai:reload --env=prod
|
||||
command: /bin/php{{ kimai_php_version }} -d memory_limit=512M {{ kimai_root_dir }}/app/bin/console kimai:reload --env=prod
|
||||
|
||||
become_user: "{{ kimai_php_user }}"
|
||||
tags: kimai
|
||||
|
Reference in New Issue
Block a user