Open Daskan opened 6 months ago
When creating a zone (with state
present
) having thetarget
parameter will result in the following msg Also have been hit by same issue. It only happens during creation and only if '%%REJECT%%' target is set. My workaround is to create zone first using default target and then to change target for existing zone.- name: "Create \"{{ ipaserver_firewalld_zone }}\" firewalld zone" ansible.posix.firewalld: zone: "{{ ipaserver_firewalld_zone }}" state: present permanent: true
SUMMARY
When creating a zone (with state
present
) having thetarget
parameter will result in the following msg:"msg": "ERROR: Exception caught: org.fedoraproject.FirewallD1.Exception: INVALID_ZONE: custom"
INVALID_ZONE
here is quite confusing and the docs not tell anything about the required or invalid parameters for such use-case.This problem only applies to none existing zone and wont make such problem on an existing one.
ISSUE TYPE
COMPONENT NAME
ansible.posix.firewalld
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
No error .. improved documentation .. or better error msg.
ACTUAL RESULTS