mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2026-06-20 08:12:37 +02:00
initial: no secrets
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
- name: Create Kimai compose directories
|
||||
file:
|
||||
state: directory
|
||||
path: "{{ item }}"
|
||||
owner: www-data
|
||||
with_items:
|
||||
- /data/kimai-invoice-templates/
|
||||
|
||||
- name: Copy Potaris twig Invoice Template
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
dest: /data/kimai-invoice-templates/
|
||||
owner: www-data
|
||||
with_items:
|
||||
- invoice-potaris.html.twig
|
||||
- full-days-85.html.twig
|
||||
|
||||
- name: Create Kimai mysql-directory
|
||||
file:
|
||||
state: directory
|
||||
path: "{{ item }}"
|
||||
owner: 999
|
||||
group: root
|
||||
with_items:
|
||||
- /data/timetracking-mysql/
|
||||
|
||||
- name: Create Kimai compose directories
|
||||
file:
|
||||
state: directory
|
||||
path: "{{ item }}"
|
||||
with_items:
|
||||
- /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
|
||||
Reference in New Issue
Block a user