# Howto get value of passed limit

**URL:** <https://forum.ansible.com/t/howto-get-value-of-passed-limit/22987>\
**Category:** Ansible Project\
**Created:** [November 9, 2016, 10:41am UTC](https://forum.ansible.com/t/howto-get-value-of-passed-limit/22987 "2016-11-09T10:41:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![William\_Leemans](https://avatars.discourse-cdn.com/v4/letter/w/cab0a1/32.png) [@William\_Leemans](https://forum.ansible.com/u/William_Leemans)\
**Post date:** [November 9, 2016, 10:41am UTC](https://forum.ansible.com/t/howto-get-value-of-passed-limit/22987/1 "2016-11-09T10:41:20Z")

</div>

Hello,

I am looking for a way to obtain the limit specified when running a playbook.

[http://docs.ansible.com/ansible/playbooks\_variables.html](http://docs.ansible.com/ansible/playbooks_variables.html) doesn’t seem to contain information about this.  
vars[‘ansible\_play\_batch’] is not really suited, as it shows all hosts which are targetted, not the groupname if a group is specified.

Thanks,  
Will.
