# SPDX-License-Identifier: MIT
---
- name: Find out what is the currently active policy
  command: "update-crypto-policies --show"
  changed_when: false
  check_mode: false
  register: __crypto_policies_active

- name: Set current policy fact
  set_fact:
    crypto_policies_active: "{{ __crypto_policies_active.stdout }}"
    cacheable: true
