Open el-magneto opened 2 years ago
Anyone?!
Hi @el-magneto - apologies this repo is no longer being maintained. Please use our AOS-Switch Collection found here on Ansible Galaxy and the README which includes installation and necessary environment set up steps here.
You'll need to set the NETWORK_OS to include arubaoss as outlined here.
And ensure you include the collection in the playbook, your whole playbook should look like the following:
---
- hosts: all
collections:
- arubanetworks.aos_switch
tasks:
- name: Retrieve Facts from Switch
arubaoss_facts:
Please ensure REST API is enabled on the switch as well. If you have any further issues please open an issue here.
OK , so I moved that issue to the plece you pointed out: https://github.com/aruba/aos-switch-ansible-collection/issues/26#issue-1142884300
I'm trying to use arubaoss_facts:
and got an error:
I have correct connectivity and authorisation to switch:
My switch: System Description : Aruba JL355A 2540-48G-4SFP+ Switch, OS version: YC.16.10.0012