Skip to content

Debian 13 compatibility (and Debian 11 + 12 deprecation) #368

@morsik

Description

@morsik

Is your feature request related to a problem? Please describe.
This role doesn't work with Debian 13.

Debian 11 already deprecated apt-key and Debian 13 finally removed it which causes:

TASK [sensu.sensu_go.install : Add apt key] *******************************************************************************************************************
fatal: [debian13srv]: FAILED! => {"changed": false, "msg": "Failed to find required executable \"apt-key\" in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}

- name: Add apt key
ansible.builtin.apt_key:
data: "{{ apt_key_download.content }}"

Describe the solution you'd like
Correctly configure repositories for Debian 13. And Debian 11 and 12 for that matter...

PS Apparently man of apt-key in Debian 11 said apt-key(8) will last be available in Debian 11 and Ubuntu 22.04." so this shouldn't work even in Debian 12 and Ubuntu 24.04, but apparently they left this tool one major release longer...

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureProposed new functioanlity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions