You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The port_forward parameter of the firewalld module expects a list of exactly one dictionary argument.
This is unintuitive and confusing behaviour. If the module supports just one argument it should take
dictionary options. If multiple port_forwards are supported taking a list of forwards would be fine.
SUMMARY
The port_forward parameter of the firewalld module expects a list of exactly one dictionary argument.
This is unintuitive and confusing behaviour. If the module supports just one argument it should take
dictionary options. If multiple port_forwards are supported taking a list of forwards would be fine.
ISSUE TYPE
COMPONENT NAME
ansible.posix.firewalld
port_forward featureANSIBLE VERSION
COLLECTION VERSION
STEPS TO REPRODUCE
Try to use the
EXPECTED RESULTS
The
port_forward
option of thefirewalld
module accepts a simple dictionary, or a list of dictionaries if multiple forwards are possible.ACTUAL RESULTS
The modules accepts a list of a single dictionary.
The text was updated successfully, but these errors were encountered: