Created
April 24, 2018 07:42
-
-
Save IPvSean/8c7d94312591caed5b9e0f679fe79c24 to your computer and use it in GitHub Desktop.
with network_cli and persistent ssh, each command is done in order, so the context is kept
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: arista | |
connection: network_cli | |
tasks: | |
- eos_command: | |
commands: | |
- routing-context vrf blah | |
- show routing-context vrf | |
register: output | |
- debug: | |
var: output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the output is literally->