Skip to content

Commit

Permalink
Fix context in ubuntu 24
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jun 4, 2024
1 parent 09576d7 commit ce4d038
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion contextualization/conf-ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,26 @@
extra_args: --prefer-binary --break-system-packages
when: ansible_python_version is version('3.11', '>=')

- name: Install cryptography & pyOpenSSL & pyyaml & wheel
- name: Install cryptography & pyOpenSSL in py3.11-
pip:
name:
- cryptography>36.0.0,<39.0.0
- pyOpenSSL>20.0,<22.1.0
executable: pip3
extra_args: "{{ extra_args }}"
when: ansible_python_version is version('3.11', '<')

- name: Install cryptography & pyOpenSSL in py3.11+
pip:
name: cryptography>36.0.0
name: pyOpenSSL>20.0
executable: pip3
extra_args: "{{ extra_args }}"
when: ansible_python_version is version('3.11', '>=')

- name: Install pyyaml, wheel, paramiko and packaging
pip:
name:
- wheel
- pyyaml
- paramiko>=2.9.5
Expand Down

0 comments on commit ce4d038

Please sign in to comment.