Skip to content

Commit

Permalink
Fix install in RockyLinux 9
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Nov 29, 2023
1 parent a79edf5 commit c759697
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions contextualization/conf-ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,24 @@

######################################### Use pip to enable to set the version #############################################

# Version over 21 does not work with python 3.5 or older
- name: Upgrade pip in py3.5
# Version over 21 does not work with python 3.6 or older
- name: Upgrade pip in py3.6-py3.10
pip:
name: pip>18.0,<21.0
executable: pip3
when: ansible_python_version is version('3.7', '<')

- name: Upgrade pip in py3.6-py3.10
- name: Upgrade pip in py3.7-py3.8
pip:
name: pip>20.0
executable: pip3
when: ansible_python_version is version('3.7', '>=') and ansible_python_version is version('3.11', '<')
when: ansible_python_version is version('3.7', '>=') and ansible_python_version is version('3.10', '<')

- name: Upgrade pip in py3.9-py3.10
pip:
name: pip>=22.0
executable: pip3
when: ansible_python_version is version('3.9', '>=') and ansible_python_version is version('3.11', '<')

# Version 66 (#2497) fails
- name: Upgrade setuptools with Pip in py3.11-
Expand Down

0 comments on commit c759697

Please sign in to comment.