mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-24 18:58:41 +02:00
modules: fix examples to use FQCN (#88)
* modules: fix examples to use FQCN * fix * fix
This commit is contained in:
parent
283749481e
commit
82f9288507
2 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue