From b8d308d919c89d86dc72d4fd62335b9f948544f1 Mon Sep 17 00:00:00 2001 From: Helge Sychla Date: Thu, 23 Feb 2017 10:15:32 +0100 Subject: [PATCH] Revert syntax change of set_fact example for strings and booleans. (#21819) The reverted change (Examples syntax batch7 (#5624), 99de7f0) makes the example not match its description. modified: lib/ansible/modules/utilities/logic/set_fact.py --- lib/ansible/modules/utilities/logic/set_fact.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/ansible/modules/utilities/logic/set_fact.py b/lib/ansible/modules/utilities/logic/set_fact.py index 7f7c42c95a5..1e42a27b3eb 100644 --- a/lib/ansible/modules/utilities/logic/set_fact.py +++ b/lib/ansible/modules/utilities/logic/set_fact.py @@ -47,9 +47,7 @@ notes: EXAMPLES = ''' # Example setting host facts using key=value pairs, note that this always creates strings or booleans -- set_fact: - one_fact: "something" - other_fact: "{{ local_var }}" +- set_fact: one_fact="something" other_fact="{{ local_var }}" # Example setting host facts using complex arguments - set_fact: