blob: 557092e7b4a8391e678c797af3a76c37a330581f [file] [log] [blame]
Zack Williamse0d9eb92020-11-29 22:39:20 -07001---
2# docker molecule/default/verify.yml
3#
4# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
5# SPDX-License-Identifier: Apache-2.0
6
7- name: Verify
8 hosts: all
9 tasks:
10
11 - name: Check installed Docker version string
12 command:
13 cmd: "docker version"
14 register: docker_version
15 tags:
16 - skip_ansible_lint # info gathering
17
18 - debug:
19 var: docker_version
20
21 - name: Assert that installed Docker version matches version string
22 assert:
23 that:
24 - "'Version: 19.03' in docker_version.stdout"