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

playbook: Add Ubuntu 23.04 repository

parent 1d4e86b0
...@@ -88,14 +88,6 @@ ...@@ -88,14 +88,6 @@
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_18.04/ ./' state=present apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_18.04/ ./' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "18.04" when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "18.04"
- name: Install Ubuntu 19.10 repository key
apt_key: url={{ base_open_build_url }}/xUbuntu_19.10/Release.key state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "19.10"
- name: Install Ubuntu 19.10 repository
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_19.10/ ./' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "19.10"
- name: Install Ubuntu 20.04 repository key - name: Install Ubuntu 20.04 repository key
apt_key: url={{ base_open_build_url }}/xUbuntu_20.04/Release.key state=present apt_key: url={{ base_open_build_url }}/xUbuntu_20.04/Release.key state=present
when: (ansible_distribution == "Ubuntu" and ansible_distribution_version == "20.04") or (ansible_lsb.codename == "kylin" and ansible_lsb.major_release == "v10") when: (ansible_distribution == "Ubuntu" and ansible_distribution_version == "20.04") or (ansible_lsb.codename == "kylin" and ansible_lsb.major_release == "v10")
...@@ -112,6 +104,14 @@ ...@@ -112,6 +104,14 @@
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 23.04 repository key
apt_key: url={{ base_open_build_url }}/xUbuntu_23.04/Release.key state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "23.04"
- name: Install Ubuntu 23.04 repository
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_23.04/ ./' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "23.04"
- name: Install CentOS 7 Repository - name: Install CentOS 7 Repository
get_url: url={{ base_open_build_url }}/CentOS_7/home:VIFIBnexedi.repo dest=/etc/yum.repos.d/slapos.repo mode=0440 get_url: url={{ base_open_build_url }}/CentOS_7/home:VIFIBnexedi.repo dest=/etc/yum.repos.d/slapos.repo mode=0440
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7" when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
......
6029ca6cee93708a034f9c619a945687191610d3afa64e107d1e19a1dc3fc037 - 375ff12a509c9a5922a7dad40bdcf00fc0fb3500495cdcfbf75fd7eaa2b2c104 -
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