mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix id value reference
This commit is contained in:
parent
f02ec15c17
commit
b42a9d56e6
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ def main():
|
||||||
|
|
||||||
if not _get_rule_from_group(module, secgroup):
|
if not _get_rule_from_group(module, secgroup):
|
||||||
_security_group_rule(module, nova_client, 'create',
|
_security_group_rule(module, nova_client, 'create',
|
||||||
parent_group_id=secgroup.id,
|
parent_group_id=secgroup['id'],
|
||||||
ip_protocol=module.params['protocol'],
|
ip_protocol=module.params['protocol'],
|
||||||
from_port=module.params['port_range_min'],
|
from_port=module.params['port_range_min'],
|
||||||
to_port=module.params['port_range_max'],
|
to_port=module.params['port_range_max'],
|
||||||
|
|
Loading…
Reference in a new issue