# Question about using tags

**URL:** <https://forum.ansible.com/t/question-about-using-tags/38519>\
**Category:** Ansible Project\
**Created:** [October 13, 2023, 5:49pm UTC](https://forum.ansible.com/t/question-about-using-tags/38519 "2023-10-13T17:49:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Burricelli](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@Jeff\_Burricelli](https://forum.ansible.com/u/Jeff_Burricelli)\
**Post date:** [October 13, 2023, 5:49pm UTC](https://forum.ansible.com/t/question-about-using-tags/38519/1 "2023-10-13T17:49:16Z")

</div>

When running a playbook that has multiple tags, can I use “–tags” which will call in a role, but also specify “–skip-tags” which will then skip certain tasks in that role? I’ve alwasy been under the impression you cannot use “tags” and “skip-tags” together in the same playbook run.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [October 16, 2023, 5:10pm UTC](https://forum.ansible.com/t/question-about-using-tags/38519/2 "2023-10-16T17:10:26Z")

</div>

You can use both, just be aware that when in conflict skip-tags has  
precedence over tags.

but looking at docs, we don't seem to have specified that nor have any  
examples, .... someone should fix that.

---

<div class="post-metadata">

**Author:** ![Jeff\_Burricelli](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@Jeff\_Burricelli](https://forum.ansible.com/u/Jeff_Burricelli)\
**Post date:** [October 16, 2023, 5:17pm UTC](https://forum.ansible.com/t/question-about-using-tags/38519/3 "2023-10-16T17:17:13Z")

</div>

Thanks for confirming!
