From 1965bc7fa8da4bc116e56fb4f967a82a4a51cb80 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Wed, 5 Jan 2022 11:47:18 +0100 Subject: [MOLECULE] Add 'ubuntu' scenario for 'bash-completion' role Change-Id: Idf2c22383649beb3c7c76ff6fa991aa88e6cc205 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski --- .../bash-completion/molecule/ubuntu/molecule.yml | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ansible/roles/bash-completion/molecule/ubuntu/molecule.yml diff --git a/ansible/roles/bash-completion/molecule/ubuntu/molecule.yml b/ansible/roles/bash-completion/molecule/ubuntu/molecule.yml new file mode 100644 index 00000000..e3fd4680 --- /dev/null +++ b/ansible/roles/bash-completion/molecule/ubuntu/molecule.yml @@ -0,0 +1,30 @@ +--- +dependency: + name: galaxy +driver: + name: docker +lint: | + set -e + yamllint . + ansible-lint . + flake8 +platforms: + - name: bash-completion-ubuntu + image: molecule-${PREBUILD_PLATFORM_DISTRO:-ubuntu}:${PREBUILD_DISTRO_VERSION:-18.04} + pre_build_image: True +provisioner: + name: ansible + env: + ANSIBLE_ROLES_PATH: ../../../../test/roles + ANSIBLE_LIBRARY: ../../../../library + inventory: + group_vars: + all: + kubectl_install: true + completion_bin: kubectl + playbooks: + prepare: ../default/prepare.yml + converge: ../default/converge.yml +verifier: + name: testinfra + directory: ../default/tests -- cgit 1.2.3-korg