mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
removed args
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
dae7d03c34
commit
60d01a6582
1 changed files with 3 additions and 11 deletions
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
- name: reload sysctl
|
||||
shell: sysctl --system
|
||||
args:
|
||||
warn: false
|
||||
when:
|
||||
- sysctl_updated.changed
|
||||
|
||||
|
|
@ -50,9 +48,9 @@
|
|||
state: reloaded
|
||||
|
||||
- name: remount tmp
|
||||
shell: mount -o remount /tmp
|
||||
args:
|
||||
warn: false
|
||||
ansible.posix.mount:
|
||||
path: /tmp
|
||||
state: remounted
|
||||
|
||||
- name: restart firewalld
|
||||
service:
|
||||
|
|
@ -71,13 +69,9 @@
|
|||
|
||||
- name: reload dconf
|
||||
shell: dconf update
|
||||
args:
|
||||
warn: false
|
||||
|
||||
- name: grub2cfg
|
||||
shell: "grub2-mkconfig -o /boot/grub2/grub.cfg"
|
||||
args:
|
||||
warn: false
|
||||
ignore_errors: true # noqa ignore-errors
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
|
@ -118,8 +112,6 @@
|
|||
|
||||
- name: restart auditd
|
||||
shell: service auditd restart
|
||||
args:
|
||||
warn: false
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue