update package list to support debian13

This commit is contained in:
tolerryan
2025-10-06 01:36:27 -05:00
parent bbd5d9f812
commit 7b1e045863

View File

@@ -1,5 +1,4 @@
- name: Install package on Debian 12.x
- name: Install required packages
apt: apt:
name: name:
- apt-transport-https - apt-transport-https
@@ -9,6 +8,24 @@
- software-properties-common - software-properties-common
state: present state: present
update_cache: yes update_cache: yes
when:
- ansible_distribution == "Debian"
- ansible_distribution_version is version('13', '<')
tags: packages
- name: Install package on Debian 13.x
apt:
name:
- apt-transport-https
- ca-certificates
- curl
- gnupg2
state: present
update_cache: yes
when:
- ansible_distribution == "Debian"
- ansible_distribution_version is version('13', '>=')
tags: packages
- name: Add Docker GPG key - name: Add Docker GPG key
apt_key: apt_key: