diff options
Diffstat (limited to 'awx_collection/plugins/modules/instance.py')
-rw-r--r-- | awx_collection/plugins/modules/instance.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/awx_collection/plugins/modules/instance.py b/awx_collection/plugins/modules/instance.py index c29246ae31..2efcdd6f5f 100644 --- a/awx_collection/plugins/modules/instance.py +++ b/awx_collection/plugins/modules/instance.py @@ -130,8 +130,8 @@ def main(): if peers: for p in peers: if not p.isdigit(): - p_id = module.get_one('receptor_addresses', allow_none=False, data={'address': p}) - peers_ids.append(p_id['id']) + p_id = module.get_one('receptor_addresses', allow_none=False, data={'address': p}) + peers_ids.append(p_id['id']) else: peers_ids.append(p) |