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 = """
tasks:
- name: Run command on remote devices
command:
community.network.command:
commands: /system routerboard print
- name: Run command and check to see if output contains routeros
command:
community.network.command:
commands: /system resource print
wait_for: result[0] contains MikroTik
- name: Run multiple commands on remote nodes
command:
community.network.command:
commands:
- /system routerboard print
- /system identity print
- name: Run multiple commands and evaluate the output
command:
community.network.command:
commands:
- /system routerboard print
- /interface ethernet print

View file

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