Fix example formatting (#37)

This commit is contained in:
Andrew Klychkov 2020-05-20 09:59:02 +03:00 committed by Felix Fontein
parent d26dfa16c7
commit 283749481e
2 changed files with 10 additions and 10 deletions

View file

@ -59,22 +59,22 @@ options:
EXAMPLES = """
tasks:
- name: run command on remote devices
- name: Run command on remote devices
command:
commands: /system routerboard print
- name: run command and check to see if output contains routeros
- name: Run command and check to see if output contains routeros
command:
commands: /system resource print
wait_for: result[0] contains MikroTik
- name: run multiple commands on remote nodes
- name: Run multiple commands on remote nodes
command:
commands:
- /system routerboard print
- /system identity print
- name: run multiple commands and evaluate the output
- name: Run multiple commands and evaluate the output
command:
commands:
- /system routerboard print

View file

@ -30,17 +30,17 @@ options:
'''
EXAMPLES = """
# Collect all facts from the device
- facts:
- name: Collect all facts from the device
facts:
gather_subset: all
# Collect only the config and default facts
- facts:
- name: Collect only the config and default facts
facts:
gather_subset:
- config
# Do not collect hardware facts
- facts:
- name: Do not collect hardware facts
facts:
gather_subset:
- "!hardware"
"""