Skip to content

Commit

Permalink
Merge pull request #28 from ansible-lockdown/April_issues
Browse files Browse the repository at this point in the history
Updates to use new variable
  • Loading branch information
uk-bolly authored Apr 26, 2022
2 parents 31142c2 + fbb03a9 commit b067733
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion section_1/cis_1.4/cis_1.4.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ file:
{{ if .Vars.rhel8cis_legacy_boot }}
/boot/grub2/grubenv:
{{ else }}
/boot/efi/EFI/{{ .Vars.rhel8cis_os_distribution }}/grubenv:
/boot/efi/EFI/{{ .Vars.host_os_distribution }}/grubenv:
{{ end }}
title: 1.4.2 | Ensure permissions on bootloader config are configured | file_perms
exists: true
Expand Down
2 changes: 0 additions & 2 deletions vars/CIS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ host_os_distribution: RedHat
# Set if pre version 8.2
is_pre82_release: false

rhel8cis_os_distribution: redhat # ensure this is changed accordingly for centos/rocky

# timeout for each command to run where set - default = 10seconds/10000ms
timeout_ms: 30000

Expand Down

0 comments on commit b067733

Please sign in to comment.