summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2022-01-05 11:47:18 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2022-01-05 13:31:46 +0100
commite2c321b4c353394aa1fc3aff9d71e6b3eba79698 (patch)
treeba35aa97692b15b4cd72b8918837418801e5931c
parent0a81fc28ed11014124d0f3fec6bdd6861050c26d (diff)
[MOLECULE] Add 'ubuntu' scenario for 'bash-completion' role
Change-Id: Idf2c22383649beb3c7c76ff6fa991aa88e6cc205 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
-rw-r--r--ansible/roles/bash-completion/molecule/ubuntu/molecule.yml30
1 files changed, 30 insertions, 0 deletions
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