mirror of https://github.com/ceph/ceph-ansible.git
Fix for Ansible 2.1: install docker-py in version matched to ansible docker module
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>pull/874/head
parent
6c3db809ae
commit
13e0b60cbe
|
@ -115,3 +115,13 @@
|
|||
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', '>=')
|
||||
|
||||
|
|
|
@ -117,3 +117,12 @@
|
|||
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', '>=')
|
||||
|
|
|
@ -116,3 +116,12 @@
|
|||
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', '>=')
|
||||
|
|
Loading…
Reference in New Issue