update package list to support debian13
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user