Skip to content

Commit

Permalink
do not install pip using get-pip.py
Browse files Browse the repository at this point in the history
do not install pip using "python3 get-pip.py" if the "python3-pip" package is defined in the system_packages variable.
  • Loading branch information
vitabaks committed Feb 18, 2023
1 parent 9e34a3e commit 581cf53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/patroni/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

# pip install
- import_tasks: pip.yml
when: patroni_installation_method == "pip"
when:
- patroni_installation_method == "pip"
- system_packages is not search("python3-pip")
tags: patroni, patroni_install, pip

# Patroni install
Expand Down

0 comments on commit 581cf53

Please sign in to comment.