1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 05:09:12 +00:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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