diff options
author | 2021-12-17 11:35:58 +0100 | |
---|---|---|
committer | 2021-12-17 11:35:58 +0100 | |
commit | 979a66083901482c457005a8c9f82c0366492499 (patch) | |
tree | 33f896f69597fbb701ac30f10476dd84dbf512a9 /ansible/roles/kubectl/molecule | |
parent | c5103f9e65d92f49219e51d2c14e6ea7d3efa625 (diff) |
[ANSIBLE] Drop shell completion code generation in 'kubectl' role
Moved to a dedicated role
Change-Id: I9000403ff619a784c9a480d5de2eafe857c80d8f
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/roles/kubectl/molecule')
-rw-r--r-- | ansible/roles/kubectl/molecule/default/tests/test_default.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ansible/roles/kubectl/molecule/default/tests/test_default.py b/ansible/roles/kubectl/molecule/default/tests/test_default.py index 3f4c7c7d..5d675fec 100644 --- a/ansible/roles/kubectl/molecule/default/tests/test_default.py +++ b/ansible/roles/kubectl/molecule/default/tests/test_default.py @@ -1,15 +1,3 @@ -import os - -import testinfra.utils.ansible_runner - -testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( - os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all') - - def test_kubectl(host): assert host.file('/usr/local/bin/kubectl').exists assert host.run('kubectl').rc != 127 - - -def test_kubectl_bash_completion(host): - assert host.file('/etc/bash_completion.d/kubectl').exists |