mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Migrate Linux CI roles to test targets. (#17997)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
print('{"changed":false, "msg":"this is the embedded module"}')
|
||||
9
test/integration/targets/embedded_module/tasks/main.yml
Normal file
9
test/integration/targets/embedded_module/tasks/main.yml
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user