mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-09-11 07:28:22 -07:00
Docs standardization
This commit is contained in:
parent
fdfba6aa68
commit
e01cdf876c
1 changed files with 10 additions and 10 deletions
|
@ -36,16 +36,16 @@ options:
|
||||||
required: true
|
required: true
|
||||||
default: null
|
default: null
|
||||||
version_added: "1.2"
|
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:
|
notes:
|
||||||
- You can set play variables using the C(set_var) module.
|
- 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 }}"
|
||||||
|
'''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue