ComplianceAsCode / ComplianceAsCode/content
Task "Set gpgcheck=1 for each yum repo" fails with templating type error when var ensure_gpgcheck_never_disabled is set to false
Open
CIS
RHEL7
triaged
- Dominant language
- Shell
- Stars
- 2.8k
- Forks
- 828
- Avg merge
- 3d 8m
- Merged PRs (30d)
- 80
Description
Task "Set gpgcheck=1 for each yum repo" fails with templating type error when var ensure_gpgcheck_never_disabled is set to false. It works fine when set to true.
TASK [redhatofficial.rhel7_cis : Set gpgcheck=1 for each yum repo] ******************************************************************************************
fatal: [xxxxx]: FAILED! => {"msg": "Unexpected templating type error occurred on ({{ repo_grep_results.stdout | regex_findall( '(.+\\\\.repo):\\\\[(.+)\\\\]\\\\n?' ) }}): expected string or buffer"}
Contributor guide
Assessment
This issue has not been assessed yet.