fix k8s_exec, returning rc attribute to follow ansible's common return values. (#230)

fix k8s_exec, returning rc attribute to follow ansible's common return values.

SUMMARY

fix #229.

ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

k8s_exec
ADDITIONAL INFORMATION

Reviewed-by: None <None>
Reviewed-by: None <None>
This commit is contained in:
itaru2622
2021-09-13 19:21:24 +09:00
committed by GitHub
parent 63b84d7f54
commit 07ac24e42e
4 changed files with 31 additions and 5 deletions

View File

@@ -54,6 +54,7 @@
- name: Check last command status
assert:
that:
- command_status.rc != 0
- command_status.return_code != 0
always: