-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TDNF Ansible Module not working #1508
Comments
Hi, this is the same issue for me with the same configuration |
Hi, You can find the files in the following locations:
You will need to update the function like below with the None check:
Then you need to run the command below to recompile it: After that it should work. Unfortunately I'm not really good with git, so don't know how to request pull request to fix up the code, but hope this helps people and the devs will fix up the function |
Ok tried to do a pull request, will see if it works |
Fixes: #1508 Original author of this fix is: snapshotleisure <sfzhao99@hotmail.com> #1517 Change-Id: I4a04f852169fa5821f6aa25cb7ed072e5bc621c3 Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/c/photon/+/22343 Tested-by: gerrit-photon <photon-checkins@vmware.com>
Fixes: #1508 Original author of this fix is: snapshotleisure <sfzhao99@hotmail.com> #1517 Change-Id: I32f1f352dea9d33de88f57a7180cfb1ea30f4f4a Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/c/photon/+/22342
Describe the bug
The Ansible module for TDNF found under https://github.com/vmware/photon/blob/master/SPECS/ansible/tdnf.py isn't working.
The error message is as following:
The task to run was:
Reproduction steps
Expected behavior
Run TDNF tasks as intended ans described by documentation.
Additional context
Ansible Version 2.13.6
Python Version 3.10.11
The text was updated successfully, but these errors were encountered: