Re: EPEL8: New Ansible and (native) python modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
- hosts: localhost
  gather_facts: no
  tasks:
    - netbox.netbox.netbox_device:
        netbox_url: https://netbox.pcigdc.com
        netbox_token: …
        data:
          name: cmp0090.na3.pcigdc.com

An exception occurred during task execution. To see the full
traceback, use -vvv. The error was: ModuleNotFoundError: No module
named 'pynetbox'
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to
import the required Python library (pynetbox) on
bastion01a.na3.pcigdc.com's Python /usr/bin/python3.8. Please read the
module documentation and install it in the appropriate location. If
the required library is installed, but Ansible is using the wrong
Python interpreter, please consult the documentation on
ansible_python_interpreter"}

Changing gather_facts does not change anything…

On Tue, Jun 7, 2022 at 8:30 AM Maxwell G <gotmax@e.email> wrote:
>
> Jun 7, 2022 12:09:15 AM Igor Raits <igor.raits@xxxxxxxxx>:
> > The new ansible (5.x) is in the EPEL stable which works great until
> > one tries to use some non-trivial modules which require some Python
> > modules to be available… At that point you realize that the new
> > Ansible is built against Python 3.8 (default is 3.6) and we don't have
> > many python38-* packages (almost none).
>
> Take a look at https://bugzilla.redhat.com/show_bug.cgi?id=2093589#c1 . Only
> libraries required by controller plugins (e.g. python38-jmespath[1] for the
> json_query filter plugin) need to packaged for python38. Modules are *supposed*
> to use the system python interpreter (/usr/libexec/platform-python).
>
> [1]: https://src.fedoraproject.org/rpms/python38-jmespath/tree/epel8
>
> > The question is: What is the recommendation on how to get those
> >modules available in EPEL8? Do we want to go with
> > python3_other_pkgversion (which is not defined now) and build all
> > packages with python36/python38 both available or is there a plan to
> > switch default Python in EL8 to 3.8?
>
> This was discussed here: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx/thread/CECLJH3QPXWNZGNTG3KIQHFZB4WFVOAN/
> #S57EJSNCP6YOY7QXGGI4NATDR2FKQZWO
>
> --
> Maxwell G
> Pronouns: He/Him/His
> gotmax@e.email



-- 
— Igor Raits.
_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux