Fixed indenting in samples.

pull/15986/head
Scott Butler 9 years ago
parent 9fafe5e143
commit 1b52acade8

@ -191,10 +191,10 @@ For example::
--- ---
- name: wait for interface to be admin enabled - name: wait for interface to be admin enabled
eos_command: eos_command:
commands: commands:
- show interface Ethernet4 | json - show interface Ethernet4 | json
waitfor: waitfor:
- "result[0].interfaces.Ethernet4.interfaceStatus eq connected" - "result[0].interfaces.Ethernet4.interfaceStatus eq connected"
In the above example task, the command :code:`show interface Ethernet4 | json` In the above example task, the command :code:`show interface Ethernet4 | json`
is executed on the remote device and the results are evaluated. If is executed on the remote device and the results are evaluated. If
@ -210,12 +210,12 @@ results in an interface. For instance::
--- ---
- name: wait for interfaces to be admin enabled - name: wait for interfaces to be admin enabled
eos_command: eos_command:
commands: commands:
- show interface Ethernet4 | json - show interface Ethernet4 | json
- show interface Ethernet5 | json - show interface Ethernet5 | json
waitfor: waitfor:
- "result[0].interfaces.Ethernet4.interfaceStatus eq connected" - "result[0].interfaces.Ethernet4.interfaceStatus eq connected"
- "result[1].interfaces.Ethernet4.interfaceStatus eq connected" - "result[1].interfaces.Ethernet4.interfaceStatus eq connected"
In the above example, two commands are executed on the In the above example, two commands are executed on the
remote device, and the results are evaluated. By specifying the result remote device, and the results are evaluated. By specifying the result

Loading…
Cancel
Save