From ad4ddd8211ad140a371d23c8f871b1e5a0207548 Mon Sep 17 00:00:00 2001 From: Simon Heimberg Date: Tue, 17 Nov 2020 17:56:49 +0100 Subject: [PATCH] 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 --- docs/docsite/rst/reference_appendices/special_variables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/reference_appendices/special_variables.rst b/docs/docsite/rst/reference_appendices/special_variables.rst index 226e93d74c4..0593b39c8b3 100644 --- a/docs/docsite/rst/reference_appendices/special_variables.rst +++ b/docs/docsite/rst/reference_appendices/special_variables.rst @@ -116,7 +116,7 @@ play_hosts Deprecated, the same as ansible_play_batch 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 The path to the directory of the playbook that was passed to the ``ansible-playbook`` command line.