mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user