diff --git a/tasks/prelim.yml b/tasks/prelim.yml index e1b4c36..c61356c 100644 --- a/tasks/prelim.yml +++ b/tasks/prelim.yml @@ -41,13 +41,11 @@ - name: "PRELIM | Setup crypto-policy" block: - name: "PRELIM | Install crypto-policies" - package: + dnf: name: - crypto-policies - crypto-policies-scripts state: present - with_items: - - "crypto-policies crypto-policies-scripts" - name: "PRELIM | Gather system-wide crypto-policy" shell: update-crypto-policies --show @@ -56,7 +54,6 @@ changed_when: false check_mode: false register: system_wide_crypto_policy - when: "'crypto-policies' in ansible_facts.packages" when: - rhel9cis_rule_1_10 or rhel9cis_rule_1_11