diff --git a/ansible/roles/pre-configure/tasks/main.yml b/ansible/roles/pre-configure/tasks/main.yml index 3daa0e4bbcb6b7c7204355b66d6319c4d4c71d59..a970022a227badd75157f6809cc6971d28946e10 100644 --- a/ansible/roles/pre-configure/tasks/main.yml +++ b/ansible/roles/pre-configure/tasks/main.yml @@ -126,4 +126,4 @@ when: kube_bench_check_deb.rc == 1 - name: Configure firewall - import_tasks: journald.yml + import_tasks: firewall.yml diff --git a/test/pytest/test_system.py b/test/pytest/test_system.py index 8b232ebffb6e2e4c6b6898e18651a195f91b2bbe..ab7da6c72ef1c9bb4631c67b9763b51d1a4f3820 100644 --- a/test/pytest/test_system.py +++ b/test/pytest/test_system.py @@ -60,9 +60,7 @@ def test_kubernetes_setup(host): "--nosummary", "--json"]), capture_output=True) - if result.rc != 0: - print("Docker run failed: ") - print(result.stderr) + assert result.rc == 0 # kube-bench doesn't give perfectly valid JSON as output. It gives 1 line # of valid json per test