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 11:47:18 +0100
commit1965bc7fa8da4bc116e56fb4f967a82a4a51cb80 (patch)
tree19c62adbb5edec1cdd9a5014b232588d8f4f5e11
parent095939081e90fd4e2a61ca0a2d405baab3562be6 (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