Skip to content

Commit 63cb234

Browse files
Enable SLE16 platform for sysctl_kernel_exec_shield ansible remediation
1 parent e3d3720 commit 63cb234

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • linux_os/guide/system/permissions/restrictions/enable_execshield_settings/sysctl_kernel_exec_shield/ansible

linux_os/guide/system/permissions/restrictions/enable_execshield_settings/sysctl_kernel_exec_shield/ansible/shared.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
reload: yes
3333
when: kexec_arch == "b32"
3434

35-
{{% if 'ubuntu' in product or product in ['ol7', 'sle12', 'sle15'] %}}
35+
{{% if 'ubuntu' in product or product in ['ol7', 'sle12', 'sle15', 'sle16'] %}}
3636
- name: Check noexec argument exists
3737
ansible.builtin.command: grep '^GRUB_CMDLINE_LINUX=.*noexec=.*"' /etc/default/grub
3838
failed_when: False
@@ -51,7 +51,7 @@
5151

5252
{{% endif -%}}
5353

54-
{{% if product in ['sle12', 'sle15'] %}}
54+
{{% if product in ['sle12', 'sle15', 'sle16'] %}}
5555
- name: Update grub defaults and the bootloader menu
5656
ansible.builtin.command: /usr/sbin/grub2-mkconfig -o {{{ grub2_boot_path }}}/grub.cfg
5757
when: kexec_arch == "b64"

0 commit comments

Comments
 (0)