[MOLECULE] Add 'ubuntu' scenario for 'bash-completion' role 39/126439/1
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Wed, 5 Jan 2022 10:47:18 +0000 (11:47 +0100)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Wed, 5 Jan 2022 10:47:18 +0000 (11:47 +0100)
Change-Id: Idf2c22383649beb3c7c76ff6fa991aa88e6cc205
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
ansible/roles/bash-completion/molecule/ubuntu/molecule.yml [new file with mode: 0644]

diff --git a/ansible/roles/bash-completion/molecule/ubuntu/molecule.yml b/ansible/roles/bash-completion/molecule/ubuntu/molecule.yml
new file mode 100644 (file)
index 0000000..e3fd468
--- /dev/null
@@ -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