Add molecule tests for passing version 10/12610/6
authorJeremy Phelps <jphelps@linuxfoundation.org>
Fri, 14 Sep 2018 18:58:36 +0000 (13:58 -0500)
committerJeremy Phelps <jphelps@linuxfoundation.org>
Tue, 18 Sep 2018 19:43:47 +0000 (19:43 +0000)
This test the case when user pass a version in instead of relying on
the role to pick the default, which is the latest.

Change-Id: If6cc60c556b27f1ad5f28c1597578753ad676391
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
molecule/default/molecule.yml

index feddd52..44f3fcc 100644 (file)
@@ -10,14 +10,27 @@ platforms:
     image: centos:7
     groups:
       - centos
+  - name: centos7-version
+    image: centos:7
+    groups:
+      - centos
+      - centos_version
   - name: ubuntu1604
     image: ubuntu:16.04
+  - name: ubuntu1604-version
+    image: ubuntu:16.04
+    groups:
+      - ubuntu_version
 provisioner:
   name: ansible
   inventory:
     group_vars:
       centos:
         docker_service_enable: false
+      centos_version:
+        centos_docker_version: 18.06.1.ce
+      ubuntu_version:
+        ubuntu_docker_version: 18.06.1~ce~3-0~ubuntu
   lint:
     name: ansible-lint
 scenario: