Commit 5920d2c3 authored by Boxiang Sun's avatar Boxiang Sun

playbook: add Ubuntu 22.04 repository

See merge request nexedi/slapos.package!166
parents 38c22155 8053dde5
......@@ -84,11 +84,19 @@
- name: Install Ubuntu 20.04 repository key
apt_key: url={{ base_open_build_url }}/xUbuntu_20.04/Release.key state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "20.04"
when: (ansible_distribution == "Ubuntu" and ansible_distribution_version == "20.04") or (ansible_lsb.codename == "kylin" and ansible_lsb.major_release == "v10")
- name: Install Ubuntu 20.04 repository
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_20.04/ ./' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "20.04"
when: (ansible_distribution == "Ubuntu" and ansible_distribution_version == "20.04") or (ansible_lsb.codename == "kylin" and ansible_lsb.major_release == "v10")
- name: Install Ubuntu 22.04 repository key
apt_key: url={{ base_open_build_url }}/xUbuntu_22.04/Release.key state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "22.04"
- name: Install Ubuntu 22.04 repository
apt_repository: repo='deb {{ base_open_build_url }}/xUbuntu_22.04/ ./' state=present
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "22.04"
- 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
......
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