Improve docs (#2)

This commit is contained in:
Felix Fontein 2020-10-27 12:05:19 +01:00 committed by GitHub
parent 5297d4c494
commit 5368e44f83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 11 deletions

View file

@ -60,22 +60,22 @@ options:
EXAMPLES = """
tasks:
- name: Run command on remote devices
community.network.command:
community.routeros.command:
commands: /system routerboard print
- name: Run command and check to see if output contains routeros
community.network.command:
community.routeros.command:
commands: /system resource print
wait_for: result[0] contains MikroTik
- name: Run multiple commands on remote nodes
community.network.command:
community.routeros.command:
commands:
- /system routerboard print
- /system identity print
- name: Run multiple commands and evaluate the output
community.network.command:
community.routeros.command:
commands:
- /system routerboard print
- /interface ethernet print