Skip to content

Commit

Permalink
Merge pull request #35 from Coconutcoo/fix-34
Browse files Browse the repository at this point in the history
Address #34 by making prelim task conditions "or"
  • Loading branch information
uk-bolly authored Sep 30, 2024
2 parents 00c0b2e + f2e9f3b commit 8f7ef4e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@

- name: PRELIM | Find all sudoers files.
when:
- rhel_09_432015
- rhel_09_432020
- rhel_09_432025
- rhel_09_432030
- rhel_09_432015 or
rhel_09_432020 or
rhel_09_432025 or
rhel_09_432030
tags:
- always
ansible.builtin.shell: find /etc/sudoers /etc/sudoers.d/ -type f ! -name '*~' ! -name '*.*'
Expand All @@ -249,10 +249,10 @@

- name: PRELIM | Find all pwquality files.
when:
- rhel_09_611100
- rhel_09_611060
- rhel_09_611065
- rhel_09_611070
- rhel_09_611100 or
rhel_09_611060 or
rhel_09_611065 or
rhel_09_611070
tags:
- always
ansible.builtin.shell: find /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
Expand Down

0 comments on commit 8f7ef4e

Please sign in to comment.