Merge pull request #435 from ceph/install-pip

Install pip before using it
pull/436/head
Leseb 2015-11-16 11:50:48 +01:00
commit d092c0c899
5 changed files with 60 additions and 0 deletions

View File

@ -7,6 +7,18 @@
- /etc/ceph/
- /var/lib/ceph/bootstrap-mds
- name: install pip on debian
apt:
name: pip
state: present
when: ansible_os_family == 'Debian'
- name: install pip on redhat
yum:
name: python-pip
state: present
when: ansible_os_family == 'RedHat'
# NOTE (leseb): for version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py
pip:

View File

@ -9,6 +9,18 @@
- /var/lib/ceph/bootstrap-mds
- /var/lib/ceph/bootstrap-rgw
- name: install pip on debian
apt:
name: pip
state: present
when: ansible_os_family == 'Debian'
- name: install pip on redhat
yum:
name: python-pip
state: present
when: ansible_os_family == 'RedHat'
# NOTE (leseb): for version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py
pip:

View File

@ -7,6 +7,18 @@
- /etc/ceph/
- /var/lib/ceph/bootstrap-osd
- name: install pip on debian
apt:
name: pip
state: present
when: ansible_os_family == 'Debian'
- name: install pip on redhat
yum:
name: python-pip
state: present
when: ansible_os_family == 'RedHat'
# NOTE (leseb): for version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py
pip:

View File

@ -1,4 +1,16 @@
---
- name: install pip on debian
apt:
name: pip
state: present
when: ansible_os_family == 'Debian'
- name: install pip on redhat
yum:
name: python-pip
state: present
when: ansible_os_family == 'RedHat'
# NOTE (leseb): for version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py
pip:

View File

@ -7,6 +7,18 @@
- /etc/ceph/
- /var/lib/ceph/bootstrap-rgw
- name: install pip on debian
apt:
name: pip
state: present
when: ansible_os_family == 'Debian'
- name: install pip on redhat
yum:
name: python-pip
state: present
when: ansible_os_family == 'RedHat'
# NOTE (leseb): for version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py
pip: