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...
Is your feature request related to a problem? Please describe.
This role doesn't work with Debian 13.
Debian 11 already deprecated
apt-keyand Debian 13 finally removed it which causes:sensu-go-ansible/roles/install/tasks/apt/prepare.yml
Lines 40 to 42 in 1a7072a
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-keyin Debian 11 saidapt-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...