Update to 2022-12-27 17:00

This commit is contained in:
Daniel Berteaud 2022-12-27 17:00:11 +01:00
parent 43394dbc79
commit 7dba8634a5
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ kimai_version: '1.30.0'
# 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: 2a8dd1940bc3826d5ca5f68c39127ead1250ba44258285f61011857a25ddaf3a
kimai_archive_sha256: be8aee909b995a3277c87bbb8ce0cb157f03921bcc4364a95100252903c87609
# Directory where kimai will be installed
kimai_root_dir: /opt/kimai_{{ kimai_id }}

View File

@ -18,13 +18,13 @@
- name: Extract the archive
unarchive:
src: "{{ kimai_root_dir }}/tmp/kimai2-{{ kimai_version }}.tar.gz"
src: "{{ kimai_root_dir }}/tmp/kimai-{{ kimai_version }}.tar.gz"
dest: "{{ kimai_root_dir }}/tmp"
remote_src: True
- name: Move kimai to its final dir
synchronize:
src: "{{ kimai_root_dir }}/tmp/kimai2-{{ kimai_version }}/"
src: "{{ kimai_root_dir }}/tmp/kimai-{{ kimai_version }}/"
dest: "{{ kimai_root_dir }}/app/"
delete: True
compress: False
@ -34,7 +34,7 @@
- name: Populate data directories
synchronize:
src: "{{ kimai_root_dir }}/tmp/kimai2-{{ kimai_version }}/var/"
src: "{{ kimai_root_dir }}/tmp/kimai-{{ kimai_version }}/var/"
dest: "{{ kimai_root_dir }}/data/"
compress: False
delegate_to: "{{ inventory_hostname }}"