removed invocation from tests as it is only available on very very verbose mode
This commit is contained in:
parent
7368030651
commit
c267e1906e
4 changed files with 9 additions and 16 deletions
|
@ -63,7 +63,6 @@
|
||||||
- name: verify apt module outputs
|
- name: verify apt module outputs
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- "'invocation' in apt_result"
|
|
||||||
- "'changed' in apt_result"
|
- "'changed' in apt_result"
|
||||||
- "'stderr' in apt_result"
|
- "'stderr' in apt_result"
|
||||||
- "'stdout' in apt_result"
|
- "'stdout' in apt_result"
|
||||||
|
|
|
@ -162,7 +162,6 @@
|
||||||
- name: assert the task with variable module name ran
|
- name: assert the task with variable module name ran
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- result.invocation.module_name == "debug"
|
|
||||||
- result.msg == "this should be debugged"
|
- result.msg == "this should be debugged"
|
||||||
|
|
||||||
- name: test conditional includes
|
- name: test conditional includes
|
||||||
|
|
|
@ -46,10 +46,6 @@
|
||||||
# ],
|
# ],
|
||||||
# "before": null,
|
# "before": null,
|
||||||
# "changed": true,
|
# "changed": true,
|
||||||
# "invocation": {
|
|
||||||
# "module_args": "repo=https://github.com/jimi-c/test_role dest=~/ansible_testing/svn",
|
|
||||||
# "module_name": "subversion"
|
|
||||||
# },
|
|
||||||
# "item": ""
|
# "item": ""
|
||||||
# }
|
# }
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,6 @@
|
||||||
- name: verify yum module outputs
|
- name: verify yum module outputs
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- "'invocation' in yum_result"
|
|
||||||
- "'changed' in yum_result"
|
- "'changed' in yum_result"
|
||||||
- "'msg' in yum_result"
|
- "'msg' in yum_result"
|
||||||
- "'rc' in yum_result"
|
- "'rc' in yum_result"
|
||||||
|
|
Loading…
Reference in a new issue