snackpot.yml - tag role invocations with docker-config
Else tagging doesn't work correctly
This commit is contained in:
@@ -68,6 +68,7 @@
|
|||||||
state: directory
|
state: directory
|
||||||
with_filetree: templates/docker-compose
|
with_filetree: templates/docker-compose
|
||||||
when: item.state == "directory"
|
when: item.state == "directory"
|
||||||
|
tags: docker-config
|
||||||
|
|
||||||
- name: configure docker compose files
|
- name: configure docker compose files
|
||||||
template:
|
template:
|
||||||
@@ -80,6 +81,7 @@
|
|||||||
notify: restart docker compose services
|
notify: restart docker compose services
|
||||||
with_filetree: templates/docker-compose
|
with_filetree: templates/docker-compose
|
||||||
when: item.state == "file" and not item.path.endswith("~")
|
when: item.state == "file" and not item.path.endswith("~")
|
||||||
|
tags: docker-config
|
||||||
|
|
||||||
- name: ensure directory exists
|
- name: ensure directory exists
|
||||||
file:
|
file:
|
||||||
|
|||||||
Reference in New Issue
Block a user