test - get devices

This commit is contained in:
Swapnil 2024-05-08 00:38:11 +05:30
parent e2fe8c5d0f
commit 0b60a7cf50
Signed by: swapnil
GPG Key ID: 58029C48BB100574
1 changed files with 2 additions and 0 deletions

View File

@ -215,6 +215,7 @@ def run_module():
self_id = module.result['response']['x-syncthing-id']
module.result['devices'] = devices_list
module2.result['devices'] = devices_list
if folder_exists: # exists but maybe needs changing
if module.check_mode:
@ -234,6 +235,7 @@ def run_module():
module.post_call(data=folder_config_wanted)
module.exit_json()
module2.exit_json()
def main():
run_module()