mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Add integration test that modules are loaded from the expected locations (#24170)
* Add integration test that modules are loaded from the expected locations * Fix ping module to pass PEP8
This commit is contained in:
parent
8ba069315e
commit
3428f42120
20 changed files with 555 additions and 2 deletions
|
@ -48,6 +48,7 @@ ansible webservers -m ping
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
|
||||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
|
@ -62,6 +63,6 @@ def main():
|
|||
result['ping'] = module.params['data']
|
||||
module.exit_json(**result)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue