Comments (6)
This is really sad.... There should be a way to custom specify a requirements.txt with custom python modules/packages (not only collections) and EE could run this on execution time.
BTW, if you create a task inside the playbook that installs a module using pip, it will work withou needing to create a custom EE.... IE:
- name: pip install netaddr (really disagree how red hat manage their products...). Either I do this or create a custom Execution Enviroment....
ansible.builtin.shell: pip install netaddr
delegate_to: 127.0.0.1
Also, please keep in mind that Ansible was initially created to automate network devices! How you do complex automation tasks without netaddr package?
Please, reconsider this
from awx-ee.
Hi there,
I have a custom awx ee I used for network automation projects that contain the netaddr python module and the ansible.netcommon collection. you can install the image from here AWX EE image
from awx-ee.
This works for me:
- add line to _build/bindep.txt "python3-netaddr [platform:rpm]"
- add line to _build/requirements.yml " - name: ansible.netcommon"
from awx-ee.
Sadly your suggestion @liviozanol is not working for me, I have the following warning :
Defaulting to user installation because normal site-packages is not writeable.
WARNING: The script netaddr is installed in '/home/runner/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
from awx-ee.
Any update about this issue? I think this pull request may fix it but has not been reviewed yet #92.
from awx-ee.
Any update about this issue? I think this pull request may fix it but has not been reviewed yet #92.
I just create the custom AWX EE for a temporary solution, feel free to use the images here: Docker Hub
The changes are exactly the same as those made in Pull Request #92.
from awx-ee.
Related Issues (20)
- entrypoint.sh script removed from ansible-runner
- AWX-ee repos issue HOT 4
- How to make sure the compatibility between the AWX component. HOT 1
- Assistance for customizing Containerfiles HOT 2
- win_updates broken since AWX-EE 22.2.0 inclusive HOT 4
- unable to use lookups that require python modules to be installed
- Conflicts with requests pip module and awx-ee
- Unable to build on arm HOT 3
- `awx-ee:latest` with custom certificate in it HOT 1
- Are there incompatibilities between AWX and the latest version of setuptools/paramiko/pip? HOT 1
- VMware Inventory not working HOT 3
- unable to execute 'gcc': No such file or directory.... error: command 'gcc' failed with exit status 1 HOT 4
- Plain build of awx-ee fails HOT 2
- Image stream 8
- Upgrade base python version to 3.12+ HOT 2
- Need support for Terraform state inventory HOT 3
- nmap-cli not found on base awx-ee image
- python module requests-credssp is missing HOT 1
- Incorrect Package Names in AWX for python quay.io/ansible/awx-ee:latest HOT 1
- Is awx-ee old, should we be worried?
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 awx-ee.