mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-03-26 21:33:32 +00:00
fix unbound variable error
This commit is contained in:
@@ -856,6 +856,7 @@ def main():
|
||||
zone = module.params['zone']
|
||||
target = module.params['target']
|
||||
|
||||
port = None
|
||||
if module.params['port'] is not None:
|
||||
if '/' in module.params['port']:
|
||||
port, port_protocol = module.params['port'].strip().split('/')
|
||||
|
||||
Reference in New Issue
Block a user