Howto get value of passed limit

15 views
Skip to first unread message

William Leemans

unread,
Nov 9, 2016, 5:41:21 AM11/9/16
to Ansible Project
Hello,

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

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.
Reply all
Reply to author
Forward
0 new messages