SHARE
TWEET

Untitled

a guest Dec 29th, 2016 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. przemek@przemek:~/ansible/playbooks$ cat arista_sh_ver.yml ---
  2. - hosts: aristas
  3.   connection: local
  4.  
  5.   vars:
  6.    cli:
  7.     host: "{{ inventory_hostname }}"
  8.     username: ansible
  9.     password: ansible
  10.     transport: cli
  11.     authorize: yes
  12.  
  13.   tasks:
  14.   - eos_command:
  15.      commands: show version
  16.      provider: "{{ cli }}"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top