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
Guillaume Hervier
slapos.package
Commits
99219339
Commit
99219339
authored
Aug 14, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Include support for ubuntu 16.04
parent
674ba3a7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
playbook/roles/install-script/templates/base_setup.j2
playbook/roles/install-script/templates/base_setup.j2
+1
-1
playbook/roles/repository/tasks/main.yml
playbook/roles/repository/tasks/main.yml
+9
-1
No files found.
playbook/roles/install-script/templates/base_setup.j2
View file @
99219339
...
@@ -42,7 +42,7 @@ fi
...
@@ -42,7 +42,7 @@ fi
# Warn users who aren't on an explicitly supported distro, but allow them to
# Warn users who aren't on an explicitly supported distro, but allow them to
# override check and attempt installation with ``export FORCE=yes``
# override check and attempt installation with ``export FORCE=yes``
if [[ ! ${DISTRO} =~ (wheezy|jessie|trusty|vivid|rhel7|rhel6|LinuxMint-17.2) ]]; then
if [[ ! ${DISTRO} =~ (wheezy|jessie|trusty|vivid|
xenial|
rhel7|rhel6|LinuxMint-17.2) ]]; then
echo "WARNING: this script has not been tested on $DISTRO"
echo "WARNING: this script has not been tested on $DISTRO"
if [[ "$FORCE" != "yes" ]]; then
if [[ "$FORCE" != "yes" ]]; then
die $LINENO "If you wish to run this script anyway run with FORCE=yes"
die $LINENO "If you wish to run this script anyway run with FORCE=yes"
...
...
playbook/roles/repository/tasks/main.yml
View file @
99219339
...
@@ -54,6 +54,14 @@
...
@@ -54,6 +54,14 @@
apt_repository
:
repo='deb {{ base_open_build_url }}/xUbuntu_15.04/ ./' state=present
apt_repository
:
repo='deb {{ base_open_build_url }}/xUbuntu_15.04/ ./' state=present
when
:
ansible_distribution == "Ubuntu" and ansible_distribution_version == "15.04"
when
:
ansible_distribution == "Ubuntu" and ansible_distribution_version == "15.04"
-
name
:
Install Ubuntu 16.04 repository key
apt_key
:
url={{ base_open_build_url }}/xUbuntu_16.04/Release.key state=present
when
:
ansible_distribution == "Ubuntu" and ansible_distribution_version == "16.04"
-
name
:
Install Ubuntu 16.04 repository
apt_repository
:
repo='deb {{ base_open_build_url }}/xUbuntu_16.04/ ./' state=present
when
:
ansible_distribution == "Ubuntu" and ansible_distribution_version == "16.04"
-
name
:
Install CentOS 7 Repository
-
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=http://download.opensuse.org/repositories/home:/VIFIBnexedi/CentOS_7/home:VIFIBnexedi.repo dest=/etc/yum.repos.d/slapos.repo mode=0440
when
:
ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
when
:
ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
...
...
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