Giter Club home page Giter Club logo

Comments (6)

liviozanol avatar liviozanol commented on August 16, 2024 3

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.

yaldhamary avatar yaldhamary commented on August 16, 2024 1

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.

bubulak avatar bubulak commented on August 16, 2024

This works for me:

  1. add line to _build/bindep.txt "python3-netaddr [platform:rpm]"
  2. add line to _build/requirements.yml " - name: ansible.netcommon"

from awx-ee.

keliansb avatar keliansb commented on August 16, 2024

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.

misbahulard avatar misbahulard commented on August 16, 2024

Any update about this issue? I think this pull request may fix it but has not been reviewed yet #92.

from awx-ee.

misbahulard avatar misbahulard commented on August 16, 2024

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)

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.