Skip to content

Commit

Permalink
Fixed pip installation in Ubuntu Xenial
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcr01 committed Sep 3, 2024
1 parent 3484f59 commit 17b124f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ansible-playbooks/provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
add-apt-repository -y ppa:jblgf0/python
apt-get update
apt-get install -y python3.6
ln -sf /usr/bin/python3.6 /usr/bin/python3
fi
fi
Expand Down Expand Up @@ -125,9 +126,9 @@
when:
- ansible_os_family == 'Debian'
- stat_pip3.stat.exists == False
- ansible_distribution_release != "bionic"
- ansible_distribution_release not in ['bionic', 'xenial']

- name: Install pip Ubuntu Bionic
- name: Install pip Ubuntu Bionic/Xenial
ansible.builtin.package:
name:
- python3-pip
Expand All @@ -136,7 +137,7 @@
when:
- ansible_os_family == 'Debian'
- ansible_distribution == "Ubuntu"
- ansible_distribution_release == "bionic"
- ansible_distribution_release in ['bionic', 'xenial']

when:
- install_python is defined
Expand Down

0 comments on commit 17b124f

Please sign in to comment.