snackpot.yml - tag role invocations with docker-config

Else tagging doesn't work correctly
This commit is contained in:
Nick Stokoe
2021-02-01 14:24:13 +00:00
parent 3e69a85426
commit 108193a007

View File

@@ -68,7 +68,8 @@
state: directory
with_filetree: templates/docker-compose
when: item.state == "directory"
tags: docker-config
- name: configure docker compose files
template:
dest: "{{ docker_compose_base_dir }}/{{ item.path }}"
@@ -80,7 +81,8 @@
notify: restart docker compose services
with_filetree: templates/docker-compose
when: item.state == "file" and not item.path.endswith("~")
tags: docker-config
- name: ensure directory exists
file:
path: "{{ docker_compose_base_dir }}/bin"