These below instructions are for installing Ansible and the Aruba Ansible Modules to an Ubuntu 18.04 Linux machine.
Aruba Ansible Modules currently support the following products:
You can install Ansible through 1 of 2 methods:
sudo apt-add-repository --yes --update ppa:ansible/ansible
sudo apt-get install ansible
git clone https://github.com/ansible/ansible.git --recursive
Once Ansible is installed, validate its installation was completed successfully by executing the below command and validating its output, your output will look slightly different when using the developer version of Ansible:
$ ansible --version
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/administrator/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
Now that you have Ansible installed you’re ready to install the Aruba Ansible Modules.
For AOS-CX Modules install the AOS-CX Role using the following command AFTER you've installed Ansible:
ansible-galaxy install arubanetworks.aoscx_role
For all other supported Aruba You’ll need to download a copy of the Aruba Ansible Modules Github and run the module installer script:
git clone https://github.com/aruba/aruba-ansible-modules.git
sudo python aruba_module_installer/aruba_module_installer.py
As a FYI, I had to install GIT before completing these directions (apt-get install git)
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2021 Hewlett Packard Enterprise Development LPAll Rights Reserved.