Make ios_command example working
This commit is contained in:
parent
16db1d54d1
commit
d9c28454ae
1 changed files with 25 additions and 24 deletions
|
@ -78,6 +78,7 @@ vars:
|
||||||
password: cisco
|
password: cisco
|
||||||
transport: cli
|
transport: cli
|
||||||
|
|
||||||
|
tasks:
|
||||||
- name: run show version on remote devices
|
- name: run show version on remote devices
|
||||||
ios_command:
|
ios_command:
|
||||||
commands: show version
|
commands: show version
|
||||||
|
@ -104,7 +105,7 @@ vars:
|
||||||
wait_for:
|
wait_for:
|
||||||
- result[0] contains IOS
|
- result[0] contains IOS
|
||||||
- result[1] contains Loopback0
|
- result[1] contains Loopback0
|
||||||
provider "{{ cli }}"
|
provider: "{{ cli }}"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
RETURN = """
|
RETURN = """
|
||||||
|
|
Loading…
Reference in a new issue