From: Bartek Grzybowski Date: Wed, 5 Jan 2022 10:47:18 +0000 (+0100) Subject: [MOLECULE] Add 'ubuntu' scenario for 'bash-completion' role X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=1965bc7fa8da4bc116e56fb4f967a82a4a51cb80;p=oom%2Foffline-installer.git [MOLECULE] Add 'ubuntu' scenario for 'bash-completion' role Change-Id: Idf2c22383649beb3c7c76ff6fa991aa88e6cc205 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski --- 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