Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
MyCard
init
Commits
35a76c09
Commit
35a76c09
authored
Dec 24, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cloud kernel custom
parent
6fae6e65
Pipeline
#1863
passed with stage
in 3 minutes and 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
defaults/main.yml
defaults/main.yml
+1
-0
tasks/debian_kernel.yml
tasks/debian_kernel.yml
+2
-2
No files found.
defaults/main.yml
View file @
35a76c09
...
@@ -23,3 +23,4 @@ cpufreq_policy: none
...
@@ -23,3 +23,4 @@ cpufreq_policy: none
vm_agents_status
:
present
vm_agents_status
:
present
customization
:
true
customization
:
true
nvidia_driver_version
:
null
nvidia_driver_version
:
null
cloud_kernel
:
auto
# or enabled / disabled
tasks/debian_kernel.yml
View file @
35a76c09
...
@@ -9,11 +9,11 @@
...
@@ -9,11 +9,11 @@
-
name
:
use non-cloud kernel
-
name
:
use non-cloud kernel
set_fact
:
set_fact
:
install_kernel_name
:
linux-image-{{install_kernel_arch}},linux-headers-{{install_kernel_arch}}
install_kernel_name
:
linux-image-{{install_kernel_arch}},linux-headers-{{install_kernel_arch}}
when
:
not (ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm")
when
:
cloud_kernel == "disabled" or cloud_kernel == "auto" and
not (ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm")
-
name
:
use cloud kernel
-
name
:
use cloud kernel
set_fact
:
set_fact
:
install_kernel_name
:
linux-image-cloud-{{install_kernel_arch}},linux-headers-cloud-{{install_kernel_arch}}
install_kernel_name
:
linux-image-cloud-{{install_kernel_arch}},linux-headers-cloud-{{install_kernel_arch}}
when
:
ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm"
when
:
cloud_kernel == "enabled" or cloud_kernel == "auto" and
ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm"
-
name
:
install kernel
-
name
:
install kernel
become
:
true
become
:
true
apt
:
apt
:
...
...
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