mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
Add ansible_play_name magic var (#48562)
This commit is contained in:
parent
1fff542623
commit
1465f70eb5
3 changed files with 9 additions and 0 deletions
|
@ -76,9 +76,15 @@ omit
|
|||
play_hosts
|
||||
Deprecated, the same as ansbile_play_batch
|
||||
|
||||
ansible_play_name
|
||||
The name of the currently executed play. Added in ``2.8``.
|
||||
|
||||
playbook_dir
|
||||
The path to the directory of the playbook that was passed to the ``ansible-playbook`` command line.
|
||||
|
||||
role_name:
|
||||
The name of the currently executed role
|
||||
|
||||
role_names
|
||||
The names of the rules currently imported into the current play.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue