mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
fixed regex
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
9a0ac22331
commit
2eeccbdc69
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@
|
|||
- name: "1.2.3 | PATCH | Ensure gpgcheck is globally activated | Update yum.repos"
|
||||
replace:
|
||||
name: "{{ item.path }}"
|
||||
regexp: "^gpgcheck\s*=\s*0"
|
||||
regexp: '^gpgcheck\s+=\s+0'
|
||||
replace: "gpgcheck=1"
|
||||
with_items:
|
||||
- "{{ yum_repos.files }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue