From e72e12aa2747b9fb747775365588b67ec17832a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Solbj=C3=B8rg?= Date: Mon, 10 Aug 2020 16:42:45 +0200 Subject: [PATCH] docs: 'ansible_play_hosts' lists active hosts, not limited by serial (#71116) ansible_play_batch lists the currently targeted host(s) in the serial/batch, while ansible_play_hosts lists all the hosts which will be targeted by the play. --- 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 7073680e897e5f..ce776ad2792bd2 100644 --- a/docs/docsite/rst/reference_appendices/special_variables.rst +++ b/docs/docsite/rst/reference_appendices/special_variables.rst @@ -51,7 +51,7 @@ ansible_play_batch List of active hosts in the current play run limited by the serial, aka 'batch'. Failed/Unreachable hosts are not considered 'active'. ansible_play_hosts - The same as ansible_play_batch + List of hosts in the current play run, not limited by the serial. Failed/Unreachable hosts are included in this list. ansible_play_hosts_all List of all the hosts that were targeted by the play