# Access the --tags value that was specified in commandline

**URL:** <https://forum.ansible.com/t/access-the-tags-value-that-was-specified-in-commandline/21068>\
**Category:** Ansible Project\
**Created:** [April 5, 2016, 2:34pm UTC](https://forum.ansible.com/t/access-the-tags-value-that-was-specified-in-commandline/21068 "2016-04-05T14:34:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cyril\_Panshine](https://avatars.discourse-cdn.com/v4/letter/c/c37758/32.png) [@Cyril\_Panshine](https://forum.ansible.com/u/Cyril_Panshine)\
**Post date:** [April 5, 2016, 2:34pm UTC](https://forum.ansible.com/t/access-the-tags-value-that-was-specified-in-commandline/21068/1 "2016-04-05T14:34:15Z")

</div>

Is there a way to get the value of tags passed to the `ansible-playbook` commandline via --tags parameter?

I need to access it from the playbook.
