Skip to content

Commit

Permalink
Added dock tag to main.yml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bartdorlandt authored Oct 17, 2022
1 parent 2766aac commit 0c9879b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/dock/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,22 @@
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
when:
- item.pos is defined
- item.pos > 0
loop: "{{ dockitems_persist }}"
tags: dock

0 comments on commit 0c9879b

Please sign in to comment.