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
Carlos Ramos Carreño
slapos.package
Commits
8e1b2be0
Commit
8e1b2be0
authored
Jan 10, 2018
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: fix - use apt_repository to add jessie-backports repo
parent
a47223e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
playbook/roles/vifib-kernel/tasks/main.yml
playbook/roles/vifib-kernel/tasks/main.yml
+1
-3
No files found.
playbook/roles/vifib-kernel/tasks/main.yml
View file @
8e1b2be0
...
@@ -5,8 +5,7 @@
...
@@ -5,8 +5,7 @@
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
-
name
:
Install Debian jessie-backports repository
-
name
:
Install Debian jessie-backports repository
lineinfile
:
dest='/etc/apt/sources.list' line='deb http://ftp.debian.org/debian jessie-backports main' state=present
apt_repository
:
repo='deb http://ftp.debian.org/debian jessie-backports main' state=present update_cache=yes
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "8"
-
name
:
Install kernel 4.9 on debian
8.0
-
name
:
Install kernel 4.9 on debian
8.0
apt
:
name=linux-image-4.9.0-0.bpo.5-amd64 state=latest default_release=jessie-backports update_cache=yes
apt
:
name=linux-image-4.9.0-0.bpo.5-amd64 state=latest default_release=jessie-backports update_cache=yes
...
@@ -22,7 +21,6 @@
...
@@ -22,7 +21,6 @@
-
{
line
:
"
deb-src
http://deb.debian.org/debian
jessie
main"
}
-
{
line
:
"
deb-src
http://deb.debian.org/debian
jessie
main"
}
-
{
line
:
"
deb
http://security.debian.org/
jessie/updates
main
contrib
non-free"
}
-
{
line
:
"
deb
http://security.debian.org/
jessie/updates
main
contrib
non-free"
}
-
{
line
:
"
deb-src
http://security.debian.org/
jessie/updates
main
contrib
non-free"
}
-
{
line
:
"
deb-src
http://security.debian.org/
jessie/updates
main
contrib
non-free"
}
-
{
line
:
"
deb
http://ftp.debian.org/debian
jessie-backports
main"
}
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "7"
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "7"
-
name
:
Dist upgrade debian 7 to debian
8
-
name
:
Dist upgrade debian 7 to debian
8
...
...
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