Commit cb3c2f17 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

Fix for Ubuntu24.04 repository

Using directly a key with apt-key is obsolete now so use the new DEB822
Source Format.
parent b2b25589
Pipeline #38697 failed with stage
in 0 seconds
...@@ -104,12 +104,15 @@ ...@@ -104,12 +104,15 @@
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_22.04/ ./' state=present apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_22.04/ ./' state=present
when: (ansible_distribution == "Ubuntu" and ansible_distribution_version == "22.04") or (ansible_distribution == "Linux Mint" and ansible_distribution_major_version == "21") when: (ansible_distribution == "Ubuntu" and ansible_distribution_version == "22.04") or (ansible_distribution == "Linux Mint" and ansible_distribution_major_version == "21")
- name: Install Ubuntu 24.04 repository key
apt_key: url={{ base_open_build_url }}/xUbuntu_24.04/Release.key state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "24.04"
- name: Install Ubuntu 24.04 repository - name: Install Ubuntu 24.04 repository
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_24.04/ ./' state=present ansible.builtin.deb822_repository:
name: download_opensuse_org_repositories_home_VIFIBnexedi_xUbuntu_24.04
types: [deb]
uris: "{{ base_open_build_url }}/xUbuntu_24.04"
suites: ./
signed_by: "{{ base_open_build_url }}/xUbuntu_24.04/Release.key"
state: present
enabled: true
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "24.04" when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "24.04"
- name: Install CentOS 7 Repository - name: Install CentOS 7 Repository
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment