Commit 5c3fa6eb authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

playbook: use https for OBS

See merge request nexedi/slapos.package!167
parents 790fe186 559cc4b2
Pipeline #23270 failed with stage
in 0 seconds
---
base_open_build_url: http://download.opensuse.org/repositories/home:/VIFIBnexedi/
base_open_build_url: https://download.opensuse.org/repositories/home:/VIFIBnexedi/
is_ubuntu: "'{{ ansible_distribution }}' == 'Ubuntu'"
is_debian: "'{{ ansible_distribution }}' == 'Debian'"
......
......@@ -91,7 +91,7 @@
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "20.04"
- name: Install CentOS 7 Repository
get_url: url=http://download.opensuse.org/repositories/home:/VIFIBnexedi/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"
- name: Install CentOS 7 RPM Key
......@@ -101,9 +101,9 @@
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
- name: Install OpenSuse Leap 15 RPM Key
rpm_key: state=present key=http://download.opensuse.org/repositories/home:/VIFIBnexedi/openSUSE_Leap_15.1/repodata/repomd.xml.key
rpm_key: state=present key={{ base_open_build_url }}/openSUSE_Leap_15.1/repodata/repomd.xml.key
when: ansible_distribution == "Suse" and ansible_distribution_major_version == "15"
- name: Install OpenSuse Leap 15 repository
get_url: url=http://download.opensuse.org/repositories/home:/VIFIBnexedi/openSUSE_Leap_15.1/home:VIFIBnexedi.repo dest=/etc/zypp/repos.d/home_VIFIBnexedi.repo mode=0440
get_url: url={{ base_open_build_url }}/openSUSE_Leap_15.1/home:VIFIBnexedi.repo dest=/etc/zypp/repos.d/home_VIFIBnexedi.repo mode=0440
when: ansible_os_family == "Suse" and ansible_distribution_major_version == "15"
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