d7b665929d
Upgrade the kernel version is not acceptable for the server in most of case. I do not see the issue when using ubuntu 14.04 default kernel with docker aufs storage driver. Even if there is some wrong in the aufs driver, we could recommend the user to use other drivers, like lvm, brtfs or even overlay driver. This reverts commit 833c1269c7941498787d49ce879be6c283728407. Change-Id: I6ee71ecd1ca64777b874bfcc342162622643b89c
14 lines
497 B
YAML
14 lines
497 B
YAML
---
|
|
- name: Checking docker-py version
|
|
command: python -c "import docker; print docker.__version__"
|
|
register: result
|
|
changed_when: false
|
|
failed_when: result | failed or
|
|
result.stdout | version_compare(docker_py_version_min, '<')
|
|
|
|
- name: Checking Ansible version
|
|
local_action: command ansible --version
|
|
register: result
|
|
changed_when: false
|
|
failed_when: result.stdout | regex_replace('ansible (\\d+\\.\\d+\\.\\d+)', '\\1') | version_compare(ansible_version_min, '<')
|