mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
parent
8cecb0690f
commit
05644686de
4 changed files with 20 additions and 9 deletions
|
@ -38,3 +38,5 @@
|
|||
- { role: test_script, tags: test_script }
|
||||
- { role: test_authorized_key, tags: test_authorized_key }
|
||||
- { role: test_get_url, tags: test_get_url }
|
||||
- { role: test_embedded_module, tags: test_embedded_module }
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
print '{"changed":false, "msg":"this is the embedded module"}'
|
|
@ -0,0 +1,9 @@
|
|||
- name: run the embedded dummy module
|
||||
test_integration_module:
|
||||
register: result
|
||||
|
||||
- name: assert the embedded module ran
|
||||
assert:
|
||||
that:
|
||||
- "'msg' in result"
|
||||
- result.msg == "this is the embedded module"
|
Loading…
Add table
Add a link
Reference in a new issue