Comments (8)
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.
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.
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.
The script try to run 'ansible --version' to find the version. Does that work without 'sudo' for you in ubuntu?
from aruba-ansible-modules.
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.
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.
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.
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)
- [Errno 2] arubaoss_rest.py HOT 2
- "Connection failure: Remote end closed connection without response during login" HOT 9
- No output from **arubaoss_command:** when more tasks running in parallel HOT 8
- arubaoss_file_transfer upload firmware not working on all switch models HOT 2
- Can't install Aruba Ansible modules with Ansible 2.10+ HOT 4
- Modules not found even though they exist HOT 3
- allow installation of modules in 2.10.x HOT 3
- module doesn't upgrade all switches HOT 1
- Playbook Execution Failed During Ansible Testing with ArubaOS Switch HOT 2
- aruba_module_installer.py error /usr/lib/python3/dist-packages/ansible/plugins/doc_fragments does not exist on Debian Linux 10
- CONTRIBUTING.md "Aruba Bots Automate Videos" Playlist Link does not exist HOT 1
- Support for prompt in arubaoss_command HOT 1
- API call succeeds but is reported as failed HOT 5
- how to banner ansible HOT 2
- How to automate Cisco ios switch backup to tftp server using ansible HOT 1
- Error in "arubanetworks.aos_switch.arubaoss_vlan" documentation HOT 1
- arubaoss_facts error HOT 3
- Unable to backup to tftp HOT 1
- Stuck with : Request failed: <urlopen error [Errno -2] Name or service not known> HOT 12
- aruba-ansible module doesn't work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aruba-ansible-modules.