From a40ad61dae40480b2aac6635215a7e8e77b04006 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 10 Feb 2017 21:09:58 +0200
Subject: [PATCH] - Be explicit about Pip is for Python2.

---
 pkgs.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/pkgs.yml b/pkgs.yml
index 3d81c63..5ff72dd 100644
--- a/pkgs.yml
+++ b/pkgs.yml
@@ -142,7 +142,7 @@
           - gulp
           - webcoach
           - sitespeed.io
-      pip:
+      pip2:
           - ansible
           - ansible-container
           - ansible-lint
@@ -220,13 +220,14 @@
             name: '{{ item }}'
             state: present
 
-      - name: pip install
-        when: pip is iterable
+      - name: pip2 install
+        when: pip2 is iterable
         become: yes
         become_user: root
         pip:
-            name: '{{ pip }}'
+            name: '{{ pip2 }}'
             state: present
+            execuable: pip2
 
       - name: pip3 install
         when: pip3 is iterable
-- 
GitLab