mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-03-26 21:43:02 +00:00
Merge "Fix F841 and remove exclusion"
This commit is contained in:
@@ -121,7 +121,6 @@ def main():
|
||||
|
||||
sdk, cloud = openstack_cloud_from_module(module)
|
||||
|
||||
changed = False
|
||||
state = module.params['state']
|
||||
resource_name = module.params['resource_name']
|
||||
resource_type = module.params['resource_type']
|
||||
|
||||
@@ -329,7 +329,6 @@ def _validate_subnets(module, cloud, filters=None):
|
||||
internal_subnet_ids = []
|
||||
internal_port_ids = []
|
||||
existing_port_ips = []
|
||||
existing_port_ids = []
|
||||
if module.params['external_fixed_ips']:
|
||||
for iface in module.params['external_fixed_ips']:
|
||||
subnet = cloud.get_subnet(iface['subnet'])
|
||||
|
||||
Reference in New Issue
Block a user