Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aruba-ansible module doesn't work #137

Open
mehransaeed7810 opened this issue Nov 29, 2023 · 2 comments
Open

aruba-ansible module doesn't work #137

mehransaeed7810 opened this issue Nov 29, 2023 · 2 comments

Comments

@mehransaeed7810
Copy link

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:
      - show version
      register: version_output

    • debug:
      msg: "{{ version_output.stdout[0] }}"

@alagoutte
Copy link
Contributor

Hi,

What switch model and firmware ? and ansible version ?

What output do you have ?

@tchiapuziowong
Copy link
Member

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants