diff --git a/lib/ansible/modules/system/firewalld.py b/lib/ansible/modules/system/firewalld.py index 5c2ab25763b..02314fc44ac 100644 --- a/lib/ansible/modules/system/firewalld.py +++ b/lib/ansible/modules/system/firewalld.py @@ -175,7 +175,7 @@ EXAMPLES = r''' - name: Redirect port 443 to 8443 with Rich Rule firewalld: - rich_rule: rule forward-port port=443 protocol=tcp to-port=8443 + rich_rule: rule family=ipv4 forward-port port=443 protocol=tcp to-port=8443 zone: public permanent: yes immediate: yes