updated set_fact docs with note about typing

pull/4420/head
Brian Coca 2016-07-06 11:14:42 -04:00 committed by Matt Clay
parent b51a1e175e
commit b55fd5f67a
1 changed files with 4 additions and 1 deletions

View File

@ -35,10 +35,13 @@ options:
required: true
default: null
version_added: "1.2"
notes:
- "The `var=value` notation can only create strings or booleans.
If you want to create lists/arrays or dictionary/hashes use `var: [val1, val2]`"
'''
EXAMPLES = '''
# Example setting host facts using key=value pairs
# 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 }}"
# Example setting host facts using complex arguments