forked from ansible-lockdown/RHEL9-CIS
section 1 updates
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
bfbcede072
commit
39780562c1
9 changed files with 14 additions and 10 deletions
|
|
@ -44,7 +44,7 @@
|
|||
- name: "1.2.3 | PATCH | Ensure gpgcheck is globally activated | Update yum.repos"
|
||||
replace:
|
||||
name: "{{ item.path }}"
|
||||
regexp: "^gpgcheck=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