ansible_playbook_python (#18530)

* ansible_playbook_python

fixes #18471

* fix tests

* removed dupe
This commit is contained in:
Brian Coca
2016-11-23 16:30:46 -05:00
committed by GitHub
parent 21813ed83e
commit 778c983ef9
5 changed files with 11 additions and 9 deletions

View File

@@ -681,6 +681,8 @@ period, without the rest of the domain.
.. versionadded:: 2.2
``ansible_play_batch`` is available as a list of hostnames that are in scope for the current 'batch' of the play. The batch size is defined by ``serial``, when not set it is equivalent to the whole play (making it the same as ``ansible_play_hosts``).
.. versionadded:: 2.3
``ansible_playbook_python`` is the path to the python executable used to invoke the Ansible command line tool.
These vars may be useful for filling out templates with multiple hostnames or for injecting the list into the rules for a load balancer.