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
Boxiang Sun
slapos.package
Commits
e0a935f5
Commit
e0a935f5
authored
Feb 25, 2020
by
Łukasz Nowak
Committed by
Rafael Monnerat
Feb 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Support OpenSuse 15
parent
3ce407a9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
playbook/roles/package/tasks/main.yml
playbook/roles/package/tasks/main.yml
+4
-0
playbook/roles/repository/tasks/main.yml
playbook/roles/repository/tasks/main.yml
+6
-0
No files found.
playbook/roles/package/tasks/main.yml
View file @
e0a935f5
...
@@ -5,3 +5,7 @@
...
@@ -5,3 +5,7 @@
-
name
:
Install {{ package_name }} using yum
-
name
:
Install {{ package_name }} using yum
yum
:
name={{ package_name }} state={{ package_state }} update_cache=yes
yum
:
name={{ package_name }} state={{ package_state }} update_cache=yes
when
:
ansible_os_family == "RedHat"
when
:
ansible_os_family == "RedHat"
-
name
:
Install {{ package_name }} using zypper
zypper
:
name={{ package_name }} state={{ package_state }} update_cache=yes
when
:
ansible_os_family == "Suse"
playbook/roles/repository/tasks/main.yml
View file @
e0a935f5
...
@@ -140,4 +140,10 @@
...
@@ -140,4 +140,10 @@
rpm_key
:
state=present key=http://download.opensuse.org/repositories/home:/VIFIBnexedi/Fedora_26/repodata/repomd.xml.key
rpm_key
:
state=present key=http://download.opensuse.org/repositories/home:/VIFIBnexedi/Fedora_26/repodata/repomd.xml.key
when
:
ansible_distribution == "Fedora" and ansible_distribution_major_version == "26"
when
:
ansible_distribution == "Fedora" and ansible_distribution_major_version == "26"
-
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
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
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