Code Monkey home page Code Monkey logo

Comments (3)

mrjoshuap avatar mrjoshuap commented on June 25, 2024

Are you defining leapp_custom_repositories or just using the default of []?

What versions of Ansible and Python are you using? Can you post the output of:

ansible --version

Thanks!

from ansible-leapp.

mrjoshuap avatar mrjoshuap commented on June 25, 2024

I've done a little preliminary testing, and for leapp_custom_repositories using either the default value or a custom repository (epel), I was able to complete the preupgrade:

# Default []
leapp_custom_repositories: []

And after configuring EPEL:

# use custom repo epel:
leapp_custom_repositories:
  - epel

That said, the error mentions an if statement, so I'll do some testing with some values for leapp_skip_rhsm and see if I can reproduce.

from ansible-leapp.

dwojewod avatar dwojewod commented on June 25, 2024

What versions of Ansible and Python are you using?

Hi,

$ ansible --version
ansible 2.9.13
config file = /home/automation/plays4/ansible.cfg
configured module search path = ['/home/automation/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.6/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.6.8 (default, Dec 5 2019, 15:45:45) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]

On the managed node (RHEL 7.7) I had:
python-2.7.5-86.el7.x86_64
python2-leapp-0.11.0-1.el7_9.noarch

I added also python3:
python3-3.6.8-17.el7.x86_64
python3-libs-3.6.8-17.el7.x86_64

but the playbook execution result is still the same.
I used: leapp_custom_repositories: []

from ansible-leapp.

Related Issues (4)

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.