7609cc2428
Remove the docker max version check since we are not pinning docker version any more. Partially-Implements: blueprint precheck-tasks Change-Id: Icfa10e72c56092931aae016afaeed4c6ce8cb337
13 lines
455 B
YAML
13 lines
455 B
YAML
---
|
|
- name: Checking that libvirt is not running
|
|
stat: path=/var/run/libvirt/libvirt-sock
|
|
register: result
|
|
failed_when: result.stat.exists
|
|
when: inventory_hostname in groups['compute']
|
|
|
|
- name: Checking Docker version
|
|
command: docker version
|
|
register: result
|
|
failed_when: result | failed
|
|
or (result.stdout | from_yaml).Server.Version | regex_replace('(\\d+\\.\\d+\\.\\d+).*', '\\1') | version_compare(docker_version_min, '<')
|