modules: fix examples to use FQCN (#88)

* modules: fix examples to use FQCN

* fix

* fix
This commit is contained in:
Andrew Klychkov 2020-07-13 21:26:16 +03:00 committed by Felix Fontein
parent 283749481e
commit 82f9288507
2 changed files with 7 additions and 7 deletions

View file

@ -60,22 +60,22 @@ options:
EXAMPLES = """ EXAMPLES = """
tasks: tasks:
- name: Run command on remote devices - name: Run command on remote devices
command: community.network.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: community.network.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: community.network.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: community.network.command:
commands: commands:
- /system routerboard print - /system routerboard print
- /interface ethernet print - /interface ethernet print

View file

@ -31,16 +31,16 @@ options:
EXAMPLES = """ EXAMPLES = """
- name: Collect all facts from the device - name: Collect all facts from the device
facts: community.network.facts:
gather_subset: all gather_subset: all
- name: Collect only the config and default facts - name: Collect only the config and default facts
facts: community.network.facts:
gather_subset: gather_subset:
- config - config
- name: Do not collect hardware facts - name: Do not collect hardware facts
facts: community.network.facts:
gather_subset: gather_subset:
- "!hardware" - "!hardware"
""" """