mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-22 08:41:09 +00:00
committed by
ansibot
parent
72d977057f
commit
754ef34acb
@@ -365,7 +365,10 @@ def append_param(rule, param, flag, is_list):
|
||||
append_param(rule, item, flag, False)
|
||||
else:
|
||||
if param is not None:
|
||||
rule.extend([flag, param])
|
||||
if param[0] == '!':
|
||||
rule.extend(['!', flag, param[1:]])
|
||||
else:
|
||||
rule.extend([flag, param])
|
||||
|
||||
def append_tcp_flags(rule, param, flag):
|
||||
if param:
|
||||
|
||||
Reference in New Issue
Block a user