document what the name of a play is (#72633)
##### SUMMARY Make clear that `ansible_play_name` is the name attribute from the play and not the file name of the playbook. improves #57361 ##### ISSUE TYPE - Docs Pull Request +label: docsite_pr
This commit is contained in:
parent
d8baf4d38d
commit
ad4ddd8211
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ play_hosts
|
||||||
Deprecated, the same as ansible_play_batch
|
Deprecated, the same as ansible_play_batch
|
||||||
|
|
||||||
ansible_play_name
|
ansible_play_name
|
||||||
The name of the currently executed play. Added in ``2.8``.
|
The name of the currently executed play. Added in ``2.8``. (`name` attribute of the play, not file name of the playbook.)
|
||||||
|
|
||||||
playbook_dir
|
playbook_dir
|
||||||
The path to the directory of the playbook that was passed to the ``ansible-playbook`` command line.
|
The path to the directory of the playbook that was passed to the ``ansible-playbook`` command line.
|
||||||
|
|
Loading…
Reference in a new issue