Optimized all file and implemented setup procedures

This commit is contained in:
2024-01-05 23:13:46 +01:00
parent deec416abf
commit eb779c91bd
4 changed files with 94 additions and 12 deletions

View File

@@ -21,4 +21,14 @@
template:
src: "config.toml.j2"
dest: "{{docker_compose_instance_directory}}config.toml"
notify: docker compose project setup
notify: docker compose project setup
- name: flush docker service
meta: flush_handlers
when: setup | bool
- name: setup routine for listmonk
command:
cmd: "yes | docker compose run -T --rm application ./listmonk --install"
chdir: "{{docker_compose_instance_directory}}"
when: setup | bool