mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #9502 from nikut/delegate_docfix
add documentation for the delegate_to magic variable
This commit is contained in:
commit
d25748b037
1 changed files with 2 additions and 0 deletions
|
@ -851,6 +851,8 @@ period, without the rest of the domain.
|
||||||
|
|
||||||
*play_hosts* is available as a list of hostnames that are in scope for the current play. This may be useful for filling out templates with multiple hostnames or for injecting the list into the rules for a load balancer.
|
*play_hosts* is available as a list of hostnames that are in scope for the current play. This may be useful for filling out templates with multiple hostnames or for injecting the list into the rules for a load balancer.
|
||||||
|
|
||||||
|
*delegate_to* is the inventory hostname of the host that the current task has been delegated to using 'delegate_to'.
|
||||||
|
|
||||||
Don't worry about any of this unless you think you need it. You'll know when you do.
|
Don't worry about any of this unless you think you need it. You'll know when you do.
|
||||||
|
|
||||||
Also available, *inventory_dir* is the pathname of the directory holding Ansible's inventory host file, *inventory_file* is the pathname and the filename pointing to the Ansible's inventory host file.
|
Also available, *inventory_dir* is the pathname of the directory holding Ansible's inventory host file, *inventory_file* is the pathname and the filename pointing to the Ansible's inventory host file.
|
||||||
|
|
Loading…
Reference in a new issue