ansible-sshd/tasks/check_fips.yml

13 lines
310 B
YAML
Raw Permalink Normal View History

---
- name: Check the kernel FIPS mode
2022-06-03 12:22:17 +02:00
ansible.builtin.slurp:
src: /proc/sys/crypto/fips_enabled
register: __sshd_kernel_fips_mode
failed_when: false
- name: Check the userspace FIPS mode
2022-06-03 12:22:17 +02:00
ansible.builtin.slurp:
src: /etc/system-fips
register: __sshd_userspace_fips_mode
failed_when: false