summaryrefslogtreecommitdiffstats
path: root/ansible/roles/bash-completion/molecule/default/prepare.yml
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-12-17 11:17:55 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-12-17 11:17:55 +0100
commit3a94af71ad65d2ec93b21cde755ec3a6430180ac (patch)
tree8219ab0428acbbf9354ac71acc9762c0863caa8a /ansible/roles/bash-completion/molecule/default/prepare.yml
parent7c1839f6063e55ba24143c6f8951966a99f6b797 (diff)
[ANSIBLE] Add 'bash-completion' role
Role installs bash-completion package and generates the shell completion code for binary given as a role parameter Change-Id: I95af7b7a16b0dec1dd7841f1db7afdb3738fe6bc Issue-ID: OOM-2902 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/roles/bash-completion/molecule/default/prepare.yml')
-rw-r--r--ansible/roles/bash-completion/molecule/default/prepare.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/bash-completion/molecule/default/prepare.yml b/ansible/roles/bash-completion/molecule/default/prepare.yml
new file mode 100644
index 00000000..5acc39cd
--- /dev/null
+++ b/ansible/roles/bash-completion/molecule/default/prepare.yml
@@ -0,0 +1,7 @@
+---
+- name: Prepare
+ hosts: all
+ roles:
+ # This role is played in prepare stage only to install kubectl which will be
+ # used as a binary to test the bash-completion role
+ - prepare-kubectl