kolla-ansible/ansible/roles/prechecks/tasks/package_checks.yml
Vladislav Belogrudov 3bd4c2a607 Add playbook for hosts pre-deployment checks (ports, files)
This playbook runs on hosts before deployment to be sure we don't
have any conflicting services running and systems are in expected
state.

DocImpact

Change-Id: If5f288b7fbdf269697ca834da4eb969b61683ca0
Partially-implements: blueprint precheck-tasks
2015-11-13 16:35:33 +03:00

7 lines
230 B
YAML

---
- name: Checking docker-py version
command: python -c "import docker; print docker.__version__"
register: result
failed_when: result | failed or
result.stdout | version_compare(docker_py_version_min, '<')