Skip to content

Document Ansible core requirements for deb822_repository and npm module #177

Description

@93jun

I hit two module resolution failures when running this role in a clean Debian-family container with ansible-core-only installs.

Observed failures:

  • With ansible-core 2.14, the Debian setup path fails while resolving ansible.builtin.deb822_repository in tasks/setup-Debian.yml.
  • With ansible-core 2.15, the repository setup gets past that point, but the role then fails while resolving the npm module in tasks/main.yml.

The second failure may not show up when using the full ansible distribution, since that can include community collections. With ansible-core-only installs, it looks like the role needs both:

  • a minimum Ansible/core version high enough for ansible.builtin.deb822_repository, and
  • an explicit documented collection requirement or module namespace for the npm tasks.

Relevant task locations:

  • tasks/setup-Debian.yml uses ansible.builtin.deb822_repository.
  • tasks/main.yml uses npm for global package installs and package.json installs.

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