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 = """ EXAMPLES = """
tasks: tasks:
- name: run command on remote devices - name: Run command on remote devices
command: command:
commands: /system routerboard print 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: command:
commands: /system resource print commands: /system resource print
wait_for: result[0] contains MikroTik wait_for: result[0] contains MikroTik
- name: run multiple commands on remote nodes - name: Run multiple commands on remote nodes
command: command:
commands: commands:
- /system routerboard print - /system routerboard print
- /system identity print - /system identity print
- name: run multiple commands and evaluate the output - name: Run multiple commands and evaluate the output
command: command:
commands: commands:
- /system routerboard print - /system routerboard print

View file

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