-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
######################################################################### | ||
# Title: Saltbox: Kernel | Nobel Update Tasks # | ||
# Author(s): salty # | ||
# URL: https://github.com/saltyorg/Saltbox # | ||
# -- # | ||
######################################################################### | ||
# GNU General Public License v3.0 # | ||
######################################################################### | ||
--- | ||
- name: Update | Update linux kernel | ||
ansible.builtin.apt: | ||
name: "{{ kernel_update_apt_package_24 }}" | ||
update_cache: true | ||
state: latest | ||
register: r | ||
|
||
- name: Update | Fix broken APT install | ||
ansible.builtin.shell: "{{ kernel_update_apt_fix }}" | ||
when: r.changed | ||
|
||
- name: Update | Set 'reboot_is_necessary' variable | ||
ansible.builtin.set_fact: | ||
reboot_is_necessary: true | ||
when: r.changed | ||
|
||
- name: Update | Kernel was updated | ||
ansible.builtin.debug: | ||
msg: "Kernel was updated." | ||
when: r.changed | ||
|
||
- name: Update | Kernel was not updated | ||
ansible.builtin.debug: | ||
msg: "Kernel was not updated." | ||
when: (not r.changed) |
File renamed without changes.