Commit e01cdf87 by Michael DeHaan

Docs standardization

parent fdfba6aa
......@@ -36,16 +36,16 @@ options:
required: true
default: null
version_added: "1.2"
examples:
- description: "Example setting host facts using key=value pairs"
code: |
action: set_fact one_fact="something" other_fact="{{ local_var * 2 }}"'
- description: "Example setting host facts using complex arguments"
code: |
action: set_fact
args:
one_fact: something
other_fact: "{{ local_var * 2 }}"
notes:
- You can set play variables using the C(set_var) module.
'''
EXAMPLES = '''
# Example setting host facts using key=value pairs
set_fact: one_fact="something" other_fact="{{ local_var * 2 }}"
# Example setting host facts using complex arguments
set_fact:
one_fact: something
other_fact: "{{ local_var * 2 }}"
'''
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment