Debian Codegraph @

ansible_collections/community/docker/tests/integration/targets/docker_login/tasks/test.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 - block:
7 - ansible.builtin.include_tasks: run-test.yml
8 with_fileglob:
9 - "tests/*.yml"
10 loop_control:
11 loop_var: test_name
12 when: docker_api_version is version('1.25', '>=')
13
14 - ansible.builtin.fail: msg="Too old docker / docker-py version to run docker_image tests!"
15 when: not(docker_api_version is version('1.25', '>=')) and (ansible_facts.distribution != 'CentOS' or ansible_facts.distribution_major_version|int > 6)