Files in this whitelist should not be altered. Currently this is only relevant for enforcing the gpg check. Signed-off-by: René Scheibe <[email protected]>
9 lines
333 B
YAML
9 lines
333 B
YAML
---
|
|
- name: verify 'gpgcheck' was not enabled for 'foo' repository (in whitelist)
|
|
command: grep -e 'gpgcheck\s*=\s*0' /etc/yum.repos.d/foo.repo
|
|
changed_when: false
|
|
|
|
- name: verify 'gpgcheck' was enabled for 'bar' repository (not in whitelist)
|
|
command: grep -e 'gpgcheck\s*=\s*1' /etc/yum.repos.d/bar.repo
|
|
changed_when: false
|