Skip to content

Missing python3-debian APT package #4

@xenOs76

Description

@xenOs76

Received the following error while running the playbook against a fresh install of Raspberry Pi OS (debian version 12.8, ARM64):

TASK [nvjacobo.caddy : Add caddy repository] *********************************************************************************************************************************************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'debian'
fatal: [flux]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (python3-debian) on flux's Python /usr/bin/python3.11. 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"}

Solved adding python3-debian APT package to complete Debian dependencies listed here:
https://github.com/nvjacobo/caddy/blob/main/tasks/debian.yml#L3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions