Commit 8053dde5 authored by Boxiang Sun's avatar Boxiang Sun

Allow Kylin v10 OS to install the Ubuntu 20.04 repo

parent a1e8cffb
......@@ -84,11 +84,11 @@
- 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
......
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