test - get devices
This commit is contained in:
parent
a5eabf9ca6
commit
0c93969c8e
|
@ -212,7 +212,7 @@ def run_module():
|
||||||
else:
|
else:
|
||||||
devices_list = device_module.get_call()
|
devices_list = device_module.get_call()
|
||||||
existing_device_ids = [device['deviceID'] for device in devices_list]
|
existing_device_ids = [device['deviceID'] for device in devices_list]
|
||||||
self_id = module.result['response']['x-syncthing-id']
|
self_id = device_module.result['response']['x-syncthing-id']
|
||||||
|
|
||||||
if folder_exists: # exists but maybe needs changing
|
if folder_exists: # exists but maybe needs changing
|
||||||
if module.check_mode:
|
if module.check_mode:
|
||||||
|
|
Loading…
Reference in New Issue