Commit 9001bf36 authored by Dónal Cunningham's avatar Dónal Cunningham
Browse files

DC - Initial commit

parents
---
- 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]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment