GithubHelp home page GithubHelp logo

Comments (8)

rajani-abraham avatar rajani-abraham commented on June 14, 2024 2

OK, identified the issue. The script checks if Ansible version is 2.7.9 or less (line 142) as that was last tested version.

changing below line from
if '2.5' <= re_version <= '2.7.9':
to
if '2.5' <= re_version :
should work. Let me mark as bug and we will plan to fix.

from aruba-ansible-modules.

ArubaAndy avatar ArubaAndy commented on June 14, 2024

Same failure occurs on Ubuntu 18.04.2.

aruba@ansible2:/etc/ansible/aruba-ansible-modules/aruba_module_installer$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic
aruba@ansible2:/etc/ansible/aruba-ansible-modules/aruba_module_installer$ ansible --version
ansible 2.8.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/aruba/.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]
aruba@ansible2:/etc/ansible/aruba-ansible-modules/aruba_module_installer$

from aruba-ansible-modules.

Philippe-Benard avatar Philippe-Benard commented on June 14, 2024

I have the same issues. I have the impression that “aruba_module_installer.py” is not compatible with Ansible2.8.
You can use ansible 2.5 for install module (sudo apt-get install ansible=2.5.1+dfsg-1).

from aruba-ansible-modules.

rajani-abraham avatar rajani-abraham commented on June 14, 2024

The script try to run 'ansible --version' to find the version. Does that work without 'sudo' for you in ubuntu?

from aruba-ansible-modules.

ArubaAndy avatar ArubaAndy commented on June 14, 2024

The script try to run 'ansible --version' to find the version. Does that work without 'sudo' for you in ubuntu?

Yes.

aruba@ansible2:~$ ansible --version
ansible 2.8.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/aruba/.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]
aruba@ansible2:~$

Edit: I think you mean, running the python script, also yes:

aruba@ansible2:/etc/ansible/aruba-ansible-modules/aruba_module_installer$ python aruba_module_installer.py
There was an issue finding your ansible version.
Please run 'ansible --version' from bash, resolve any errors, and verify version is release version 2.5 or later.

from aruba-ansible-modules.

rajani-abraham avatar rajani-abraham commented on June 14, 2024

Update: Even if module installation for ansible 2.8 goes through, running playbooks using switch modules might run into issues. We are actively looking into it. Sorry for the inconvenience.

from aruba-ansible-modules.

rajani-abraham avatar rajani-abraham commented on June 14, 2024

Update - Issue is with one of the Ansible 2.8 plugins. We are working with Ansible folks - ansible/ansible#57447 and following up with them. Meanwhile try to avoid Ansible 2.8 version for now.
We are still investigating to unblock with other options.

from aruba-ansible-modules.

tchiapuziowong avatar tchiapuziowong commented on June 14, 2024

Fixed with latest commit f4a1406 . In regards to AOS-CX compatibility this is still under investigation and is being tracked by issue #25

from aruba-ansible-modules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.