Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ENHANCEMENTS:
- Refactor handlers to avoid Ansible Lint warnings.
- Enable SELinux configuration tasks on Oracle Linux OS.
- Bump the Ansible `ansible.posix` collection to `1.5.2`, `community.general` collection to `6.4.0`, `community.crypto` collection to `2.13.0` and `community.docker` collection to `3.4.5`.
- Oracle Linux 8 requires python library package `python3.11-cryptography` for validating the NGINX Plus repository certificate.

CI/CD:

Expand Down
10 changes: 10 additions & 0 deletions tasks/plus/setup-license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@
- name: (Debian/Red Hat/SLES OSs) Install cryptography package
ansible.builtin.package:
name: "{{ (ansible_python['version']['major'] == 3) | ternary('python3-cryptography', 'python2-cryptography') }}"
when:
- ansible_facts['distribution'] != "OracleLinux"
- ansible_facts['distribution_major_version'] != "8"

- name: (OracleLinux 8) Install cryptography package
ansible.builtin.package:
name: "python3.11-cryptography"
when:
- ansible_facts['distribution'] == "OracleLinux"
- ansible_facts['distribution_major_version'] == "8"

- name: (Debian/Red Hat/SLES OSs) Check that NGINX Plus certificate is valid
community.crypto.x509_certificate_info:
Expand Down