Link for Pip3

#8 Does this role install python3 as well?
This commit is contained in:
Michael Porter 2018-09-09 14:06:33 -05:00
parent 8435521e92
commit 69add2c5f0
No known key found for this signature in database
GPG Key ID: 5471D27291D993FA

View File

@ -4,6 +4,13 @@
name: "{{ pip_package }}"
state: present
- name: Link Pip3 to pip
file:
src: "/usr/bin/pip3"
dest: "/usr/bin/pip"
state: link
when: pip_package == "python3-pip"
- name: Ensure pip_install_packages are installed.
pip:
name: "{{ item.name | default(item) }}"