mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-19 03:33:17 +02:00
Update to 2022-12-27 17:00
This commit is contained in:
parent
43394dbc79
commit
7dba8634a5
@ -10,7 +10,7 @@ kimai_version: '1.30.0'
|
|||||||
# URL of the archive
|
# URL of the archive
|
||||||
kimai_archive_url: https://github.com/kevinpapst/kimai2/archive/refs/tags/{{ kimai_version }}.tar.gz
|
kimai_archive_url: https://github.com/kevinpapst/kimai2/archive/refs/tags/{{ kimai_version }}.tar.gz
|
||||||
# Expected sha256 of the archive
|
# Expected sha256 of the archive
|
||||||
kimai_archive_sha256: 2a8dd1940bc3826d5ca5f68c39127ead1250ba44258285f61011857a25ddaf3a
|
kimai_archive_sha256: be8aee909b995a3277c87bbb8ce0cb157f03921bcc4364a95100252903c87609
|
||||||
|
|
||||||
# Directory where kimai will be installed
|
# Directory where kimai will be installed
|
||||||
kimai_root_dir: /opt/kimai_{{ kimai_id }}
|
kimai_root_dir: /opt/kimai_{{ kimai_id }}
|
||||||
|
@ -18,13 +18,13 @@
|
|||||||
|
|
||||||
- name: Extract the archive
|
- name: Extract the archive
|
||||||
unarchive:
|
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"
|
dest: "{{ kimai_root_dir }}/tmp"
|
||||||
remote_src: True
|
remote_src: True
|
||||||
|
|
||||||
- name: Move kimai to its final dir
|
- name: Move kimai to its final dir
|
||||||
synchronize:
|
synchronize:
|
||||||
src: "{{ kimai_root_dir }}/tmp/kimai2-{{ kimai_version }}/"
|
src: "{{ kimai_root_dir }}/tmp/kimai-{{ kimai_version }}/"
|
||||||
dest: "{{ kimai_root_dir }}/app/"
|
dest: "{{ kimai_root_dir }}/app/"
|
||||||
delete: True
|
delete: True
|
||||||
compress: False
|
compress: False
|
||||||
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
- name: Populate data directories
|
- name: Populate data directories
|
||||||
synchronize:
|
synchronize:
|
||||||
src: "{{ kimai_root_dir }}/tmp/kimai2-{{ kimai_version }}/var/"
|
src: "{{ kimai_root_dir }}/tmp/kimai-{{ kimai_version }}/var/"
|
||||||
dest: "{{ kimai_root_dir }}/data/"
|
dest: "{{ kimai_root_dir }}/data/"
|
||||||
compress: False
|
compress: False
|
||||||
delegate_to: "{{ inventory_hostname }}"
|
delegate_to: "{{ inventory_hostname }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user