mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #11370 from halberom/doc_magic_var
added role_path to magic var section
This commit is contained in:
commit
139138c604
1 changed files with 2 additions and 0 deletions
|
@ -614,6 +614,8 @@ Don't worry about any of this unless you think you need it. You'll know when yo
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
And finally, *role_path* will return the current role's pathname (since 1.8). This will only work inside a role.
|
||||||
|
|
||||||
.. _variable_file_separation_details:
|
.. _variable_file_separation_details:
|
||||||
|
|
||||||
Variable File Separation
|
Variable File Separation
|
||||||
|
|
Loading…
Reference in a new issue