mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 07:23:07 +00:00
tidy up crypto step
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
3dcaa58291
commit
8f9e11f5f5
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue