update package list to support debian13
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
- name: Install required packages
|
||||
- name: Install package on Debian 12.x
|
||||
apt:
|
||||
name:
|
||||
- apt-transport-https
|
||||
@@ -9,6 +8,24 @@
|
||||
- software-properties-common
|
||||
state: present
|
||||
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
|
||||
apt_key:
|
||||
|
||||
Reference in New Issue
Block a user