Skip to content

Commit

Permalink
Fix dependency-logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ferricoxide committed Mar 13, 2024
1 parent 95a3cb5 commit f3b98a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ash-linux/el8/STIGbyID/cat1/RHEL-08-010140.sls
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ user_cfg_exists-{{ stig_id }}:
- name: '{{ grubPassFile }}'
- makedirs: True
- onlyif:
- [[ -d /sys/firmware/efi/ ]]
- [[ ! -e {{ grubPassFile }} ]]
- test -d /sys/firmware/efi/
- unless: {{ grubPassFile }}
user_cfg_content-{{ stig_id }}:
cmd.run:
- name: 'printf "GRUB2_PASSWORD={{ grubEncryptedPass }}" > {{ grubPassFile }}'
- cwd: /root
- require:
- onchanges:
- file: user_cfg_exists-{{ stig_id }}
grubuser_superDef-{{ grubUserFile }}-{{ stig_id }}:
Expand Down

0 comments on commit f3b98a0

Please sign in to comment.