CI: Replace apt_repository and apt_key with deb822_repository (#11625)

Replace apt_repository and apt_key with deb822_repository.
This commit is contained in:
Felix Fontein
2026-03-19 23:12:40 +01:00
committed by GitHub
parent dae2157bb7
commit bc22fbcaa0
4 changed files with 64 additions and 36 deletions

View File

@@ -10,19 +10,10 @@
become: true
when: ansible_facts.distribution == 'Fedora'
- block:
- name: Activate flatpak ppa on Ubuntu
apt_repository:
repo: ppa:alexlarsson/flatpak
state: present
mode: '0644'
when: ansible_facts.lsb.major_release | int < 18
- name: Install flatpak package on Ubuntu
apt:
name: flatpak
state: present
- name: Install flatpak package on Ubuntu
apt:
name: flatpak
state: present
when: ansible_facts.distribution == 'Ubuntu'
- name: Install dummy remote for user