- name: Install Python 3 pip package: name: dev-python/pip become: yes - name: Install Python 2 pip package: name: dev-python/pip become: yes when: - ensure_pip_from_packages_with_python2