snackpot.yml - tag role invocations with docker-config
Else tagging doesn't work correctly
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user