Integration test for docker_node module (#52700)

* Integration test for docker_node module

* docker_node integration tests (check_mode and idempotency added)

* docker_node integration tests typos fix
This commit is contained in:
Piotr Wojciechowski
2019-02-23 22:59:12 +01:00
committed by ansibot
parent a54b948730
commit e2856127f6
4 changed files with 852 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
- include_tasks: test_node.yml
when: docker_py_version is version('1.10.0', '>=') and docker_api_version is version('1.24', '>=')
- fail: msg="Too old docker / docker-py version to run docker_swarm_facts tests!"
when: not(docker_py_version is version('1.10.0', '>=') and docker_api_version is version('1.24', '>=')) and (ansible_distribution != 'CentOS' or ansible_distribution_major_version|int > 6)