From ee52b60d7dacc86f6b4a41083ca033a024f63949 Mon Sep 17 00:00:00 2001 From: Klaus Frank Date: Thu, 27 Jun 2019 23:19:22 +0200 Subject: [PATCH] Add note about delegate_facts to run_once (#58241) * Add note about delegate_facts to run_once --- docs/docsite/rst/user_guide/playbooks_delegation.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/docsite/rst/user_guide/playbooks_delegation.rst b/docs/docsite/rst/user_guide/playbooks_delegation.rst index 439ddf10672..bcdbda3f933 100644 --- a/docs/docsite/rst/user_guide/playbooks_delegation.rst +++ b/docs/docsite/rst/user_guide/playbooks_delegation.rst @@ -278,6 +278,9 @@ As always with delegation, the action will be executed on the delegated host, bu .. note:: Any conditional (i.e `when:`) will use the variables of the 'first host' to decide if the task runs or not, no other hosts will be tested. +.. note:: + If you want to avoid the default behaviour of setting the fact for all hosts, set `delegate_facts: True` for the specific task or block. + .. _local_playbooks: Local Playbooks