From f7ef06e8498549972bcee48e4808a197ec184339 Mon Sep 17 00:00:00 2001 From: Evert Date: Wed, 12 Sep 2018 21:30:05 +0200 Subject: [PATCH] Added a note regarding the delegate_facts option. (#25257) * Added a note regarding the delegate_facts option with a link to documentation --- lib/ansible/modules/utilities/logic/include_vars.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/utilities/logic/include_vars.py b/lib/ansible/modules/utilities/logic/include_vars.py index 4bcde7377a..9dd2f7217b 100644 --- a/lib/ansible/modules/utilities/logic/include_vars.py +++ b/lib/ansible/modules/utilities/logic/include_vars.py @@ -18,9 +18,11 @@ author: Allen Sanabria (@linuxdynasty) module: include_vars short_description: Load variables from files, dynamically within a task description: - - Loads variables from a YAML/JSON files dynamically from within a file or from a directory recursively during task - runtime. If loading a directory, the files are sorted alphabetically before being loaded. + - Loads YAML/JSON variables dynamically from a file or directory, recursively, during task runtime. + - If loading a directory, the files are sorted alphabetically before being loaded. - This module is also supported for Windows targets. + - To assign included variables to a different host than C(inventory_hostname), + use C(delegate_to) and set L(delegate_facts=True,../user_guide/playbooks_delegate.html#delegated-facts). version_added: "1.4" options: file: