Merge pull request #344 from ceph/fix-pip

Fix pip module invocation
pull/345/head
Leseb 2015-07-27 17:54:00 +02:00
commit 1b4165d2bb
5 changed files with 15 additions and 10 deletions

View File

@ -8,10 +8,11 @@
- /etc/ceph/ceph.mon.keyring - /etc/ceph/ceph.mon.keyring
- /var/lib/ceph/bootstrap-mds/ceph.keyring - /var/lib/ceph/bootstrap-mds/ceph.keyring
# NOTE (leseb): force version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py - name: install docker-py
pip: > pip: >
name=docker-py name=docker-py
version=1.1.0 # https://github.com/ansible/ansible-modules-core/issues/1227 version=1.1.0
- name: stat for ceph config and keys - name: stat for ceph config and keys
stat: > stat: >
@ -30,7 +31,7 @@
with_together: with_together:
- ceph_config_keys - ceph_config_keys
- statconfig.results - statconfig.results
when: item.1.stat.exists == False when: item.1.stat.exists == true
- name: run the ceph medata docker image - name: run the ceph medata docker image
docker: > docker: >

View File

@ -7,10 +7,11 @@
- /etc/ceph/monmap - /etc/ceph/monmap
- /etc/ceph/ceph.mon.keyring - /etc/ceph/ceph.mon.keyring
# NOTE (leseb): force version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py - name: install docker-py
pip: > pip: >
name=docker-py name=docker-py
version=1.1.0 # https://github.com/ansible/ansible-modules-core/issues/1227 version=1.1.0
- name: stat for ceph config and keys - name: stat for ceph config and keys
stat: > stat: >
@ -29,7 +30,7 @@
with_together: with_together:
- ceph_config_keys - ceph_config_keys
- statconfig.results - statconfig.results
when: item.1.stat.exists == False when: item.1.stat.exists == true
- name: run the ceph Monitor docker image - name: run the ceph Monitor docker image
docker: > docker: >

View File

@ -8,10 +8,11 @@
- /etc/ceph/ceph.mon.keyring - /etc/ceph/ceph.mon.keyring
- /var/lib/ceph/bootstrap-osd/ceph.keyring - /var/lib/ceph/bootstrap-osd/ceph.keyring
# NOTE (leseb): force version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py - name: install docker-py
pip: > pip: >
name=docker-py name=docker-py
version=1.1.0 # https://github.com/ansible/ansible-modules-core/issues/1227 version=1.1.0
- name: stat for ceph config and keys - name: stat for ceph config and keys
stat: > stat: >
@ -30,7 +31,7 @@
with_together: with_together:
- ceph_config_keys - ceph_config_keys
- statconfig.results - statconfig.results
when: item.1.stat.exists == False when: item.1.stat.exists == true
- name: run the ceph osd docker image - name: run the ceph osd docker image
docker: > docker: >

View File

@ -5,10 +5,11 @@
- /etc/ceph/ceph.client.admin.keyring - /etc/ceph/ceph.client.admin.keyring
- /etc/ceph/ceph.conf - /etc/ceph/ceph.conf
# NOTE (leseb): force version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py - name: install docker-py
pip: > pip: >
name=docker-py name=docker-py
version=1.1.0 # https://github.com/ansible/ansible-modules-core/issues/1227 version=1.1.0
- name: stat for ceph config and keys - name: stat for ceph config and keys
stat: > stat: >
@ -27,7 +28,7 @@
with_together: with_together:
- ceph_config_keys - ceph_config_keys
- statconfig.results - statconfig.results
when: item.1.stat.exists == False when: item.1.stat.exists == true
- name: run the ceph rest api docker image - name: run the ceph rest api docker image
docker: > docker: >

View File

@ -8,10 +8,11 @@
- /etc/ceph/ceph.mon.keyring - /etc/ceph/ceph.mon.keyring
- /var/lib/ceph/bootstrap-rgw/ceph.keyring - /var/lib/ceph/bootstrap-rgw/ceph.keyring
# NOTE (leseb): force version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
- name: install docker-py - name: install docker-py
pip: > pip: >
name=docker-py name=docker-py
version=1.1.0 # https://github.com/ansible/ansible-modules-core/issues/1227 version=1.1.0
- name: stat for ceph config and keys - name: stat for ceph config and keys
stat: > stat: >
@ -30,7 +31,7 @@
with_together: with_together:
- ceph_config_keys - ceph_config_keys
- statconfig.results - statconfig.results
when: item.1.stat.exists == False when: item.1.stat.exists == true
- name: run the rados gateway docker image - name: run the rados gateway docker image
docker: > docker: >