4
0
Fork 0

replace module dest -> path

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2023-01-26 08:29:30 +00:00
parent f9267a389b
commit e641780168
No known key found for this signature in database
GPG key ID: 1DE02A772D0908F9
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@
- name: "1.6.1.2 | PATCH | Ensure SELinux is not disabled in bootloader configuration"
ansible.builtin.replace:
dest: /etc/default/grub
path: /etc/default/grub
regexp: '{{ item }}'
replace: ''
loop:

View file

@ -33,7 +33,7 @@
- name: "4.1.1.2 | PATCH | Ensure auditing for processes that start prior to auditd is enabled | Replace existing setting"
ansible.builtin.replace:
dest: /etc/default/grub
path: /etc/default/grub
regexp: 'audit=.'
replace: 'audit=1'
notify: Grub2cfg
@ -67,7 +67,7 @@
- name: "4.1.1.3 | PATCH | Ensure audit_backlog_limit is sufficient | Replace existing setting"
ansible.builtin.replace:
dest: /etc/default/grub
path: /etc/default/grub
regexp: 'audit_backlog_limit=\d+'
replace: 'audit_backlog_limit={{ rhel9cis_audit_back_log_limit }}'
notify: Grub2cfg