April 2020
Intermediate to advanced
482 pages
15h 16m
English
$ cat group_vars/all.yml global: mgmt_vrf: MGMT
$ cat pb_eos_eanble_eapi.yml ---- name: "Enable eAPI on Arista Switches" hosts: arista vars: ansible_connection: network_cli tasks: - name: "Enable eAPI" eos_eapi: https_port: 443 https: yes state: started
- name: "Enable eAPI under VRF" eos_eapi: state: started vrf: "{{global.mgmt_vrf}}"Read now
Unlock full access