Skip to content
Snippets Groups Projects
Commit 9001bf36 authored by Dónal Cunningham's avatar Dónal Cunningham
Browse files

DC - Initial commit

parents
No related branches found
No related tags found
No related merge requests found
---
- name: Play to show the software version on an Arista switch
hosts: veos
gather_facts: no
connection: network_cli
tasks:
- name: Import encrypted credentials
include_vars: secrets_encrypted.yaml
- name: Gather version from switches
eos_command:
commands:
- 'show version | include Software'
register: showvers
- name: Print first line of the stdout array
debug: var=showvers.stdout[0]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment