I am using UV to manage my Ansible project and running into a strange error.
I did uv add sonarr-py and uv sync to confirm that sonarr-py is installed. I double checked via the Python console
>>> try:
... import sonarr
... HAS_SONARR_LIBRARY = True
... except ImportError:
... HAS_SONARR_LIBRARY = False
...
>>> HAS_SONARR_LIBRARY
True
However when I use devopsarr.sonarr.sonarr_quality_profile in a playbook, the task fails and I get the error message: Please install the sonarr library. I kickoff the playbook execution via uv run ansible-playbook and I do use other Python libraries without issue.
Thanks!
I am using UV to manage my Ansible project and running into a strange error.
I did
uv add sonarr-pyanduv syncto confirm thatsonarr-pyis installed. I double checked via the Python consoleHowever when I use
devopsarr.sonarr.sonarr_quality_profilein a playbook, the task fails and I get the error message:Please install the sonarr library. I kickoff the playbook execution viauv run ansible-playbookand I do use other Python libraries without issue.Thanks!