Open
Description
SUMMARY
The usage of parameter forward fails with err that this parameter is not supported. It's for remote host RHEL 9.
ISSUE TYPE
- Bug Report
COMPONENT NAME
ANSIBLE VERSION
Confirm with ansible-core 2.12 and 2.15
COLLECTION VERSION
ansible.posix 1.5.4
CONFIGURATION
OS / ENVIRONMENT
RHEL or OL 9
STEPS TO REPRODUCE
Task example:
- name: Manage Forward as Disabled
ansible.posix.firewalld:
zone: public
state: disabled
forward: false
permanent: true
EXPECTED RESULTS
I expect to have same result as Linux native command:
firewall-cmd --remove-forward --permanent
ACTUAL RESULTS
Error is:
FAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.posix.firewalld) module: forward. Supported parameters include: icmp_block, icmp_block_inversion, immediate, interface, masquerade, offline, permanent, port, port_forward, rich_rule, service, source, state, target, timeout, zone."}
Metadata
Metadata
Assignees
Labels
No labels