4
0
Fork 0

rule_1.10 updates

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2023-06-06 14:36:38 +01:00
parent 3c3ddfa474
commit 674d3417ff
No known key found for this signature in database
GPG key ID: 1DE02A772D0908F9
5 changed files with 50 additions and 14 deletions

View file

@ -62,10 +62,19 @@
state: present
- name: "PRELIM | Gather system-wide crypto-policy"
ansible.builtin.shell: update-crypto-policies --show
ansible.builtin.shell: 'update-crypto-policies --show'
changed_when: false
check_mode: false
register: system_wide_crypto_policy
- name: "PRELIM | Gather system-wide crypto-policy"
ansible.builtin.set_fact:
current_crypto_policy: "{{ system_wide_crypto_policy.stdout.split(':')[0] }}"
- name: "PRELIM | Gather system-wide crypto-policy module"
ansible.builtin.set_fact:
current_crypto_module: "{{ system_wide_crypto_policy.stdout.split(':')[1] }}"
when: "':' in system_wide_crypto_policy.stdout"
when:
- rhel9cis_rule_1_10
tags: