mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 10:08:32 +01:00
23 lines
500 B
YAML
23 lines
500 B
YAML
- name: Create Kimai compose directories
|
|
file:
|
|
state: directory
|
|
path: "{{ item }}"
|
|
with_items:
|
|
- /opt/timetracking-mysql/
|
|
- /opt/kimai/
|
|
|
|
- name: Deploy Kimai Compose file
|
|
template:
|
|
src: docker-compose-kimai.yaml
|
|
dest: "/opt/kimai/docker-compose.yaml"
|
|
|
|
- name: Deploy Kimai Compose
|
|
community.docker.docker_compose:
|
|
project_src: /opt/kimai/
|
|
pull: true
|
|
|
|
- name: Copy README file
|
|
template:
|
|
src: readme_timetracking.txt
|
|
dest: /opt/readme_timetracking.txt
|