From 0c9879b32097817146634ca1ec989c734a557d31 Mon Sep 17 00:00:00 2001 From: Bart Dorlandt Date: Mon, 17 Oct 2022 13:56:50 +0200 Subject: [PATCH] Added dock tag to main.yml With the tags: dock on each task in the main.yml you are able to use the dock tag, which is already defined in the other tasks. --- roles/dock/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/dock/tasks/main.yml b/roles/dock/tasks/main.yml index bc9728a..a000b26 100644 --- a/roles/dock/tasks/main.yml +++ b/roles/dock/tasks/main.yml @@ -7,14 +7,17 @@ notify: - Clear homebrew cache when: dockutil_install + tags: dock - name: Remove configured Dock items. ansible.builtin.include_tasks: dock-remove.yml loop: "{{ dockitems_remove }}" + tags: dock - name: Ensure required dock items exist. ansible.builtin.include_tasks: dock-add.yml loop: "{{ dockitems_persist }}" + tags: dock - name: Ensure dock items are in correct position. ansible.builtin.include_tasks: dock-position.yml @@ -22,3 +25,4 @@ - item.pos is defined - item.pos > 0 loop: "{{ dockitems_persist }}" + tags: dock