Update to 2022-02-27 18:00

This commit is contained in:
Daniel Berteaud
2022-02-27 18:00:05 +01:00
parent d406dc8c77
commit 30c751e485
8 changed files with 171 additions and 97 deletions

View File

@@ -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.17.1
kimai_version: 1.18
# 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: ceff0573591d2e5c70a679301caabe626d8545af5e987443c8155f633babcd0e
kimai_archive_sha256: 55de86690b9c0907ccd0c35802bb469d3e798aadaa046e21c76dd669e930d0e3
# 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: 80
# Or you can specify here the name of a custom PHP FPM pool. See the httpd_php role
# bookstack_php_fpm_pool: custom_kimai

View File

@@ -1,13 +1,22 @@
---
- include: user.yml
- include: directories.yml
- include: facts.yml
- include: archive_pre.yml
when: kimai_install_mode == 'upgrade'
- include: install.yml
- include: conf.yml
- include: write_version.yml
- include: archive_post.yml
when: kimai_install_mode == 'upgrade'
- include: cleanup.yml
- include_tasks: user.yml
tags: always
- include_tasks: directories.yml
tags: always
- include_tasks: facts.yml
tags: always
- include_tasks: archive_pre.yml
when: kimai_install_mode | default('non') == 'upgrade'
tags: always
- include_tasks: install.yml
tags: always
- include_tasks: conf.yml
tags: always
- include_tasks: write_version.yml
tags: always
- include_tasks: archive_post.yml
when: kimai_install_mode | default('none') == 'upgrade'
tags: always
- include_tasks: cleanup.yml
tags: always