diff --git a/tasks/ca.yaml b/tasks/ca.yaml index 6848995..cd22182 100644 --- a/tasks/ca.yaml +++ b/tasks/ca.yaml @@ -3,7 +3,7 @@ block: - name: CA and certs | Install cryptography library dnf: - name: python-cryptography + name: "{{ 'python-cryptography' if ansible_facts['distribution_major_version'] == '7' else 'python3-cryptography' }}" state: present - name: CA and certs | Check if ssl gen dir exist