Skip to content

Commit

Permalink
Merge pull request #441 from layluke/440-Grub_Handler_Fix
Browse files Browse the repository at this point in the history
Adding additional condition for rhel7stig_grub2_user_cfg for task
  • Loading branch information
uk-bolly authored Oct 25, 2023
2 parents 32fe8c1 + fb6f4fe commit 5e47e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- name: make grub2 config
ansible.builtin.shell: /usr/sbin/grub2-mkconfig --output={{ rhel7stig_bootloader_path }}grub.cfg
when:
- rhel7stig_grub2_user_cfg.stat.exists
- (rhel7stig_grub2_user_cfg is defined) and (rhel7stig_grub2_user_cfg.stat.exists)
- not rhel7stig_skip_for_travis
- not rhel7stig_system_is_container

Expand All @@ -42,7 +42,7 @@
- grub.cfg
- user.cfg
when:
- rhel7stig_grub2_user_cfg.stat.exists
- (rhel7stig_grub2_user_cfg is defined) and (rhel7stig_grub2_user_cfg.stat.exists)
- rhel7stig_workaround_for_disa_benchmark
- not rhel7stig_skip_for_travis
- not rhel7stig_system_is_container
Expand Down

0 comments on commit 5e47e97

Please sign in to comment.