updated set_fact docs with note about typing
This commit is contained in:
parent
b51a1e175e
commit
b55fd5f67a
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue