Open mehransaeed7810 opened 9 months ago
Hi,
What switch model and firmware ? and ansible version ?
What output do you have ?
@mehransaeed7810 Are you using the AOS-Switch collection? This repository and the modules are no longer supported - Please use this project & collection to automate AOS-Switch devices with Ansible - after you've installed the collection be sure to setup the environment variables and re-execute the playbook you have - if you have additional errors please open an issue under the supported collection project
Hello I have been trying to make this playbook work on my aruba switches but no luck. Doesn't accept the module. Gives an error related to misspelling.
name: Get Aruba Switch Version hosts: aruba_switches gather_facts: no
vars: ansible_user: ---- ansible_password: --- ansible_connection: network_cli
tasks:
name: Get switch version arubaoss_command: commands:
debug: msg: "{{ version_output.stdout[0] }}"