From 304454d7644edc7496726a7da70e8ca5a243a080 Mon Sep 17 00:00:00 2001 From: Jeremy Phelps Date: Fri, 14 Sep 2018 13:58:36 -0500 Subject: [PATCH] Add molecule tests for passing version 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 --- molecule/default/molecule.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index feddd52..44f3fcc 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -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: -- 2.16.6