mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 19:57:58 +00:00
Use FQCNs. (#1180)
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
# and should not be used as examples of how to write Ansible roles #
|
||||
####################################################################
|
||||
|
||||
- include_tasks: test_host_info.yml
|
||||
- ansible.builtin.include_tasks: test_host_info.yml
|
||||
when: docker_api_version is version('1.25', '>=')
|
||||
|
||||
- fail: msg="Too old docker / docker-py version to run docker_host_info tests!"
|
||||
- ansible.builtin.fail: msg="Too old docker / docker-py version to run docker_host_info tests!"
|
||||
when: not(docker_api_version is version('1.25', '>=')) and (ansible_distribution != 'CentOS' or ansible_distribution_major_version|int > 6)
|
||||
|
||||
- when: podman_cli_version is version('1.0.0', '>=')
|
||||
@@ -27,11 +27,11 @@
|
||||
block:
|
||||
|
||||
- name: Get info on Podman host
|
||||
docker_host_info:
|
||||
community.docker.docker_host_info:
|
||||
register: output
|
||||
|
||||
- name: Check for some Podman specific values
|
||||
assert:
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- output.host_info.ProductLicense == 'Apache-2.0'
|
||||
- >-
|
||||
|
||||
Reference in New Issue
Block a user