2022-01-07 09:06:18 +00:00
|
|
|
---
|
|
|
|
|
|
2022-03-30 11:08:18 +01:00
|
|
|
- name: "1.10 | PATCH | Ensure system-wide crypto policy is not legacy"
|
2022-01-07 09:06:18 +00:00
|
|
|
shell: |
|
2022-03-30 11:22:30 +01:00
|
|
|
update-crypto-policies --set "{{ rhel9cis_crypto_policy }}"
|
2022-01-07 09:06:18 +00:00
|
|
|
update-crypto-policies
|
2022-03-30 11:08:18 +01:00
|
|
|
notify: change_requires_reboot
|
2022-01-07 09:06:18 +00:00
|
|
|
when:
|
2022-03-30 11:22:30 +01:00
|
|
|
- rhel9cis_rule_1_10
|
2022-01-07 09:06:18 +00:00
|
|
|
- system_wide_crypto_policy['stdout'] == 'LEGACY'
|
|
|
|
|
tags:
|
|
|
|
|
- level1-server
|
|
|
|
|
- level1-workstation
|
2022-03-30 11:08:18 +01:00
|
|
|
- automated
|
2022-01-07 09:06:18 +00:00
|
|
|
- no system_is_ec2
|
|
|
|
|
- patch
|
|
|
|
|
- rule_1.10
|