Signed-off-by: David Galloway <dgallowa@redhat.com>
---
+# python-pip installed during packages task on Fedora since epel doesn't exist
- name: Install python-pip on rpm based systems.
yum:
name: python-pip
state: present
enablerepo: epel
- when: ansible_pkg_mgr == "yum"
+ when: ansible_pkg_mgr == "yum" and ansible_distribution != 'Fedora'
- name: Install python-pip on apt based systems.
apt:
name: python-pip
state: present
- when: ansible_pkg_mgr == "apt"
+ when: ansible_pkg_mgr == "apt"
- name: Create the .pip directory for the teuthology user.
file:
- smartmontools
# for nfs
- nfs-utils
+ # python-pip is installed via roles/testnode/tasks/pip.yml on other rpm-based distros
+ - python-pip