mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 14:23:05 +00:00
updates
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
c6caa90059
commit
19a218390d
6 changed files with 22 additions and 21 deletions
|
|
@ -22,12 +22,16 @@
|
|||
|
||||
- name: update sysctl
|
||||
template:
|
||||
src: etc/99-sysctl.conf.j2
|
||||
dest: /etc/sysctl.d/99-sysctl.conf
|
||||
src: "etc/sysctl.d/{{ item }}.j2"
|
||||
dest: "/etc/sysctl.d/{{ item }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0600
|
||||
notify: reload sysctl
|
||||
with_items:
|
||||
- 60-kernel_sysctl.conf
|
||||
- 60-disable_ipv6.conf
|
||||
- 99-sysctl.conf
|
||||
when:
|
||||
- ansible_virtualization_type != "docker"
|
||||
- "'procps-ng' in ansible_facts.packages"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue