mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue