test - get devices

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

View File

@ -214,6 +214,8 @@ def run_module():
existing_device_ids = [device['deviceID'] for device in devices_list]
self_id = module.result['response']['x-syncthing-id']
module.result['devices'] = devices_list
if folder_exists: # exists but maybe needs changing
if module.check_mode:
module.result['changed'] = True