EXOS & Ansible

  • 16 March 2018
  • 4 replies
  • 543 views

Userlevel 1
Hi, I am wondering if anyone has been able to setup Ansible for EXOS switches. If so, can you provide a sample ansible-playbook configuration?

Thanks

4 replies

Userlevel 2
To use Ansible with network devices, you need modules that work with that device. There are no EXOS Ansible modules in Ansible GA yet. A user has started a pull request to get some modules for EXOS added - see https://github.com/ansible/ansible/pull/37775.

YOu could also look at this repo: https://github.com/pavelrn/NetManage - they wrote custom modules that use perl + the XML API
Userlevel 2
Note - that exos_command module has been merged. You can use the devel branch of Ansible to use that today (install it from Github), or wait until Ansible 2.6 goes GA (ETA late June 2018)
Userlevel 2
Note - that exos_command module has been merged. You can use the devel branch of Ansible to use that today (install it from Github), or wait until Ansible 2.6 goes GA (ETA late June 2018)Ansible 2.6 is now GA, so you can easily use exos_command by installing the latest version of Ansible.
Userlevel 2
exos_facts has been merged into Ansible 2.7-dev0. You can use this by running the 'devel' version of Ansible. See https://github.com/ansible/ansible/pull/43210

exos_config has been submitted to Ansible. https://github.com/ansible/ansible/pull/43902 This should also make it into Ansible 2.7 GA, but you can of course use it now.

Reply