fix(common): replace deprecated apt_repository with deb822_repository

This commit is contained in:
Tuan-Dat Tran
2026-06-03 02:31:33 +02:00
parent 956836dc67
commit f6e2ce8c1a
2 changed files with 14 additions and 3 deletions

View File

@@ -14,11 +14,17 @@
become: true
- name: Add Gierens repository to apt sources
ansible.builtin.apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/gierens.asc] http://deb.gierens.de stable main"
ansible.builtin.deb822_repository:
name: gierens
types: deb
uris: http://deb.gierens.de
suites: stable
components: main
signed_by: /etc/apt/keyrings/gierens.asc
state: present
update_cache: true
install_python_debian: true
become: true
notify: Update apt cache
- name: Install eza package
ansible.builtin.apt: