Migrate k8s_info (#310)

* Use refactored module_utils

Signed-off-by: Alina Buzachis <abuzachis@redhat.com>

* Update k8s_info.py

* Fix assertion

Signed-off-by: Alina Buzachis <abuzachis@redhat.com>
This commit is contained in:
Alina Buzachis
2022-01-19 16:02:07 +01:00
committed by Mike Graves
parent afa6a74178
commit 9aa20f0fbe
2 changed files with 17 additions and 15 deletions

View File

@@ -201,7 +201,7 @@
- name: assert that task failed with proper message
assert:
that:
- '"kubernetes >= 17.17.0 is required" in _result.msg'
- '"kubernetes >= 17.17.0 is required" in _result.module_stderr'
when:
- _stat.stat.exists
- _stat.stat.readable