blob: 557092e7b4a8391e678c797af3a76c37a330581f [file] [log] [blame]
---
# docker molecule/default/verify.yml
#
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0
- name: Verify
hosts: all
tasks:
- name: Check installed Docker version string
command:
cmd: "docker version"
register: docker_version
tags:
- skip_ansible_lint # info gathering
- debug:
var: docker_version
- name: Assert that installed Docker version matches version string
assert:
that:
- "'Version: 19.03' in docker_version.stdout"