Initial commit of Docker role
Change-Id: I7326a4e1c784b0e27294d9ce11beb4be25386192
diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml
new file mode 100644
index 0000000..557092e
--- /dev/null
+++ b/molecule/default/verify.yml
@@ -0,0 +1,24 @@
+---
+# 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"