Skip to content

Commit 8673ec1

Browse files
committed
Always install python3-cryptography
Instead of python-cryptography. CentOS 8 Stream was not able to resolve python-cryptography. We don't need to support old CentOS versions anymore, so we can use the python3 package.
1 parent 6968837 commit 8673ec1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

playbooks/roles/generate_secrets/tasks/generate-cert.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,11 @@
22
# SPDX-License-Identifier: MIT
33

44
---
5-
- name: Install Python cryptography module
6-
ansible.builtin.package:
7-
name:
8-
- python-cryptography
9-
become: true
10-
when: (ansible_facts['distribution'] == "CentOS" and ansible_facts['distribution_major_version'] == "7")
11-
125
- name: Install Python cryptography module
136
ansible.builtin.package:
147
name:
158
- python3-cryptography
169
become: true
17-
when: (ansible_facts['distribution'] == "CentOS" and ansible_facts['distribution_major_version'] == "8")
1810

1911
- name: Generate OpenSSL private keys
2012
openssl_privatekey:

0 commit comments

Comments
 (0)