mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 01:04:13 +00:00
Block kernel update
Signed-off-by: Martin Schurz <Martin.Schurz@telekom.de>
This commit is contained in:
parent
4a25f72076
commit
898bf73178
1 changed files with 4 additions and 2 deletions
|
@ -22,9 +22,11 @@
|
|||
ansible_python_interpreter: /usr/bin/python3
|
||||
when: ansible_facts.distribution == 'Fedora'
|
||||
|
||||
- name: Block update of Grub, because of error
|
||||
- name: Block update of Grub and kernel, because of error
|
||||
ansible.builtin.dpkg_selections:
|
||||
name: grub-pc
|
||||
name:
|
||||
- grub-pc
|
||||
- linux-image-generic
|
||||
selection: hold
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
|
|
Loading…
Reference in a new issue