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
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
bef828d9
Commit
bef828d9
authored
Jan 09, 2018
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: dist upgrade debian7 to debian8
parent
0b77f029
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
22 deletions
+13
-22
playbook/roles/vifib-kernel/tasks/main.yml
playbook/roles/vifib-kernel/tasks/main.yml
+13
-22
No files found.
playbook/roles/vifib-kernel/tasks/main.yml
View file @
bef828d9
...
...
@@ -12,28 +12,19 @@
apt
:
name=linux-image-4.9.0-0.bpo.5-amd64 state=latest default_release=jessie-backports update_cache=yes
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "8"
-
name
:
Download kernel 4.6 from Debian8 repository to install on Debian
7
get_url
:
url=http://ftp.fr.debian.org/debian/pool/main/l/linux-base/linux-base_4.3~bpo8+1_all.deb dest=/tmp/linux-base_4.3~bpo8+1_all.deb
-
name
:
Install Debian jessie repository on debian
7
lineinfile
:
dest
:
'
/etc/apt/sources.list'
line
:
"
{{item.line}}"
state
:
present
with_items
:
-
{
line
:
"
deb
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-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"
-
name
:
D
ownload kernel 4.6 from Debian8 repository to install on Debian
7
get_url
:
url=http://ftp.fr.debian.org/debian/pool/main/l/linux/linux-image-4.6.0-0.bpo.1-amd64_4.6.1-1~bpo8+1_amd64.deb dest=/tmp/linux-image-4.6.0-0.bpo.1-amd64_4.6.1-1~bpo8+1_amd64.deb
-
name
:
D
ist upgrade debian 7 to debian
8
apt
:
upgrade=dist update_cache=yes
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "7"
-
name
:
Install initramfs-tools on debian
7
apt
:
name=initramfs-tools state=latest default_release=wheezy-backports update_cache=yes
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "7"
-
name
:
Install udev on debian
7
apt
:
name=udev state=latest default_release=wheezy-backports update_cache=yes
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "7"
-
name
:
Install linux base 4.3 on debian
7
apt
:
deb=/tmp/linux-base_4.3~bpo8+1_all.deb
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "7"
-
name
:
Install kernel 4.6 on debian
7.0
apt
:
deb=/tmp/linux-image-4.6.0-0.bpo.1-amd64_4.6.1-1~bpo8+1_amd64.deb
when
:
ansible_distribution == "Debian" 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