Refactored use of variables

This commit is contained in:
2023-12-05 18:45:26 +01:00
parent 5ca94d6ecc
commit 3b06b5bcf4
50 changed files with 107 additions and 102 deletions

View File

@@ -8,20 +8,20 @@
dest: "/etc/nginx/conf.d/{{domain}}.conf"
notify: restart nginx
- name: "create {{path_docker_compose_folder}}"
- name: "create {{docker_compose_instance_directory}}"
file:
path: "{{path_docker_compose_folder}}"
path: "{{docker_compose_instance_directory}}"
state: directory
mode: 0755
- name: add docker-compose.yml
template:
src: "docker-compose.yml.j2"
dest: "{{path_docker_compose_folder}}docker-compose.yml"
dest: "{{docker_compose_instance_directory}}docker-compose.yml"
notify: recreate listmonk
- name: add config.toml
template:
src: "config.toml.j2"
dest: "{{path_docker_compose_folder}}config.toml"
dest: "{{docker_compose_instance_directory}}config.toml"
notify: recreate listmonk