community.docker/tests/integration/targets/docker_login/tasks/test.yml
Felix Fontein a406b08981
Rewrite the docker_login module (#407)
* Rewrite the docker_login module.

* Improve error messages.
2022-07-06 21:47:27 +02:00

10 lines
355 B
YAML

---
- block:
- include_tasks: run-test.yml
with_fileglob:
- "tests/*.yml"
when: docker_api_version is version('1.25', '>=')
- fail: msg="Too old docker / docker-py version to run docker_image tests!"
when: not(docker_api_version is version('1.25', '>=')) and (ansible_distribution != 'CentOS' or ansible_distribution_major_version|int > 6)