mirror of https://github.com/ceph/ceph-ansible.git
add python-py install to all other docker roles
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>pull/874/head
parent
13e0b60cbe
commit
65bd022834
|
@ -67,6 +67,23 @@
|
|||
tags:
|
||||
with_pkg
|
||||
|
||||
# NOTE (leseb): for version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
|
||||
- name: install docker-py
|
||||
pip:
|
||||
name: docker-py
|
||||
version: 1.1.0
|
||||
tags:
|
||||
with_pkg
|
||||
when: ansible_version['full'] | version_compare('2.1.0.0', '<')
|
||||
|
||||
- name: install docker-py
|
||||
pip:
|
||||
name: docker-py
|
||||
state: latest
|
||||
tags:
|
||||
with_pkg
|
||||
when: ansible_version['full'] | version_compare('2.1.0.0', '>=')
|
||||
|
||||
- name: pause after docker install before starting (on openstack vms)
|
||||
pause: seconds=5
|
||||
when: ceph_docker_on_openstack
|
||||
|
|
|
@ -92,6 +92,23 @@
|
|||
tags:
|
||||
with_pkg
|
||||
|
||||
# NOTE (leseb): for version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
|
||||
- name: install docker-py
|
||||
pip:
|
||||
name: docker-py
|
||||
version: 1.1.0
|
||||
tags:
|
||||
with_pkg
|
||||
when: ansible_version['full'] | version_compare('2.1.0.0', '<')
|
||||
|
||||
- name: install docker-py
|
||||
pip:
|
||||
name: docker-py
|
||||
state: latest
|
||||
tags:
|
||||
with_pkg
|
||||
when: ansible_version['full'] | version_compare('2.1.0.0', '>=')
|
||||
|
||||
- name: pause after docker install before starting (on openstack vms)
|
||||
pause: seconds=5
|
||||
when: ceph_docker_on_openstack
|
||||
|
|
|
@ -80,6 +80,23 @@
|
|||
tags:
|
||||
with_pkg
|
||||
|
||||
# NOTE (leseb): for version 1.1.0 because https://github.com/ansible/ansible-modules-core/issues/1227
|
||||
- name: install docker-py
|
||||
pip:
|
||||
name: docker-py
|
||||
version: 1.1.0
|
||||
tags:
|
||||
with_pkg
|
||||
when: ansible_version['full'] | version_compare('2.1.0.0', '<')
|
||||
|
||||
- name: install docker-py
|
||||
pip:
|
||||
name: docker-py
|
||||
state: latest
|
||||
tags:
|
||||
with_pkg
|
||||
when: ansible_version['full'] | version_compare('2.1.0.0', '>=')
|
||||
|
||||
- name: pause after docker install before starting (on openstack vms)
|
||||
pause: seconds=5
|
||||
when: ceph_docker_on_openstack
|
||||
|
|
Loading…
Reference in New Issue