Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos.package
Commits
5c3fa6eb
Commit
5c3fa6eb
authored
Sep 02, 2022
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Plain Diff
playbook: use https for OBS
See merge request
nexedi/slapos.package!167
parents
790fe186
559cc4b2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
playbook/group_vars/all
playbook/group_vars/all
+1
-1
playbook/roles/repository/tasks/main.yml
playbook/roles/repository/tasks/main.yml
+3
-3
No files found.
playbook/group_vars/all
View file @
5c3fa6eb
---
base_open_build_url: http://download.opensuse.org/repositories/home:/VIFIBnexedi/
base_open_build_url: http
s
://download.opensuse.org/repositories/home:/VIFIBnexedi/
is_ubuntu: "'{{ ansible_distribution }}' == 'Ubuntu'"
is_debian: "'{{ ansible_distribution }}' == 'Debian'"
...
...
playbook/roles/repository/tasks/main.yml
View file @
5c3fa6eb
...
...
@@ -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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment