Open dcmirandah opened 2 years ago
Late to the party but I hope this helps: What you're encountering has something to do with the PATH variable not inheriting the root user's PATH value. More info here: https://unix.stackexchange.com/questions/318179/have-a-command-in-my-path-but-it-is-not-being-recognized-when-i-use-sudo
Hi, On the leapp preupgrade step the playbook fails with the following errors:
Do you have any idea why this happens? I've also tried to run the command leapp preupgrade with the modules ansible.builtin.raw and ansible.builtin.shell. When I run the command manually on the server via an ssh connection, I get a full report without any errors.
It seems that not a lot of people are trying to automate the upgrade in place process with Ansible. I've opened 2 discussions about this error: https://access.redhat.com/discussions/6921941 https://www.reddit.com/r/ansible/comments/u2sne2/upgrade_rhel79_to_8x_with_leapp_using_ansible/?utm_source=share&utm_medium=web2x&context=3