mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
include_vars: elaborate description of dir option (#52022)
based on work of thecjharries Additional behavior documentation of 'dir' option in include_vars. Fixes: #31761
This commit is contained in:
parent
445ff39f94
commit
a4e79584ec
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ options:
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
description:
|
description:
|
||||||
- The directory name from which the variables should be loaded.
|
- The directory name from which the variables should be loaded.
|
||||||
- If the path is relative, it will look for the file in vars/ subdirectory of a role or relative to playbook.
|
- If the path is relative and the task is inside a role, it will look inside the role's vars/ subdirectory.
|
||||||
|
- If the path is relative and not inside a role, it will be parsed relative to the playbook.
|
||||||
name:
|
name:
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Reference in a new issue