ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:2 Tuesday 29 April 2025 12:54:48 -0400 (0:00:00.024) 0:00:00.025 ********* ok: [managed-node1] META: ran handlers TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 29 April 2025 12:54:49 -0400 (0:00:01.109) 0:00:01.134 ********* included: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 29 April 2025 12:54:50 -0400 (0:00:00.034) 0:00:01.169 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 29 April 2025 12:54:50 -0400 (0:00:00.040) 0:00:01.210 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 29 April 2025 12:54:50 -0400 (0:00:00.409) 0:00:01.620 ********* ok: [managed-node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 29 April 2025 12:54:50 -0400 (0:00:00.067) 0:00:01.688 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 29 April 2025 12:54:50 -0400 (0:00:00.344) 0:00:02.032 ********* ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 29 April 2025 12:54:50 -0400 (0:00:00.070) 0:00:02.103 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 29 April 2025 12:54:51 -0400 (0:00:00.818) 0:00:02.922 ********* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 29 April 2025 12:54:51 -0400 (0:00:00.041) 0:00:02.964 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 29 April 2025 12:54:51 -0400 (0:00:00.040) 0:00:03.005 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 29 April 2025 12:54:51 -0400 (0:00:00.042) 0:00:03.047 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 29 April 2025 12:54:51 -0400 (0:00:00.043) 0:00:03.091 ********* skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 29 April 2025 12:54:52 -0400 (0:00:00.075) 0:00:03.166 ********* ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target ebtables.service iptables.service ipset.service ip6tables.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 29 April 2025 12:54:52 -0400 (0:00:00.734) 0:00:03.900 ********* changed: [managed-node1] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target dbus.service system.slice polkit.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "iptables.service ebtables.service ipset.service shutdown.target ip6tables.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 29 April 2025 12:54:53 -0400 (0:00:00.804) 0:00:04.704 ********* ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 29 April 2025 12:54:53 -0400 (0:00:00.047) 0:00:04.752 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 29 April 2025 12:54:53 -0400 (0:00:00.041) 0:00:04.793 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 29 April 2025 12:54:53 -0400 (0:00:00.041) 0:00:04.835 ********* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Tuesday 29 April 2025 12:54:53 -0400 (0:00:00.041) 0:00:04.876 ********* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Tuesday 29 April 2025 12:54:53 -0400 (0:00:00.041) 0:00:04.918 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Tuesday 29 April 2025 12:54:53 -0400 (0:00:00.045) 0:00:04.964 ********* ok: [managed-node1] => { "changed": false, "firewall_config": { "custom": { "zones": { "public": { "description": "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "snmp", "amanda", "ftp", "proto-gre", "h323", "irc", "pptp", "sane", "netbios-ns", "RAS", "Q.931", "sip", "tftp" ], "icmptypes": [ "redirect", "failed-policy", "precedence-cutoff", "bad-header", "required-option-missing", "tos-host-unreachable", "host-unknown", "time-exceeded", "port-unreachable", "tos-network-unreachable", "parameter-problem", "tos-host-redirect", "destination-unreachable", "no-route", "fragmentation-needed", "unknown-option", "address-unreachable", "echo-reply", "host-unreachable", "ttl-zero-during-reassembly", "router-advertisement", "network-prohibited", "source-quench", "communication-prohibited", "protocol-unreachable", "router-solicitation", "network-unreachable", "network-unknown", "host-redirect", "timestamp-reply", "packet-too-big", "timestamp-request", "neighbour-solicitation", "tos-network-redirect", "ttl-zero-during-transit", "network-redirect", "host-prohibited", "reject-route", "ip-header-bad", "unknown-header-type", "echo-request", "source-route-failed", "host-precedence-violation", "neighbour-advertisement", "beyond-scope" ], "services": [ "rsh", "kprop", "pmwebapis", "libvirt", "snmp", "kpasswd", "pop3s", "imap", "jenkins", "dropbox-lansync", "docker-registry", "etcd-client", "mongodb", "tor-socks", "samba-dc", "vdsm", "ganglia-master", "iscsi-target", "proxy-dhcp", "high-availability", "RH-Satellite-6-capsule", "condor-collector", "ftp", "kibana", "freeipa-ldaps", "freeipa-ldap", "smtp-submission", "kshell", "amqps", "libvirt-tls", "nfs3", "ptp", "bitcoin-testnet-rpc", "managesieve", "mssql", "xmpp-local", "synergy", "bacula", "mqtt", "amanda-k5-client", "ipp-client", "matrix", "ntp", "amanda-client", "nut", "bitcoin", "privoxy", "RH-Satellite-6", "syncthing", "mountd", "distcc", "postgresql", "nrpe", "svdrp", "wbem-https", "bgp", "pmproxy", "murmur", "etcd-server", "mqtt-tls", "sips", "irc", "bitcoin-testnet", "apcupsd", "tinc", "kerberos", "radius", "transmission-client", "pmwebapi", "ovirt-vmconsole", "steam-streaming", "isns", "dhcpv6", "lightning-network", "git", "rtsp", "squid", "openvpn", "smtps", "cfengine", "zabbix-agent", "samba-client", "rsyncd", "ovirt-storageconsole", "ircs", "llmnr", "gre", "ldaps", "xmpp-client", "dhcp", "xmpp-server", "sane", "vnc-server", "ceph", "freeipa-replication", "dns", "docker-swarm", "mosh", "xmpp-bosh", "klogin", "slp", "snmptrap", "upnp-client", "ceph-mon", "samba", "rpc-bind", "salt-master", "wsmans", "bitcoin-rpc", "minidlna", "tftp-client", "freeipa-trust", "syslog-tls", "ipsec", "dhcpv6-client", "telnet", "https", "audit", "ssh", "pop3", "nmea-0183", "zabbix-server", "wsman", "xdmcp", "puppetmaster", "finger", "ipp", "ms-wbt", "syncthing-gui", "redis", "syslog", "ganglia-client", "ovirt-imageio", "pmcd", "ldap", "nfs", "kadmin", "sip", "ctdb", "spideroak-lansync", "amqp", "mdns", "http", "quassel", "imaps", "mysql", "elasticsearch", "bacula-client", "smtp", "tftp", "svn", "plex", "wbem-http", "pulseaudio" ], "zones": [ "block", "internal", "drop", "public", "work", "trusted", "external", "home", "dmz" ] }, "default_zone": "public" } } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Tuesday 29 April 2025 12:54:54 -0400 (0:00:00.758) 0:00:05.723 ********* ok: [managed-node1] => { "ansible_facts": { "firewall_config": { "custom": { "zones": { "public": { "description": "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "snmp", "amanda", "ftp", "proto-gre", "h323", "irc", "pptp", "sane", "netbios-ns", "RAS", "Q.931", "sip", "tftp" ], "icmptypes": [ "redirect", "failed-policy", "precedence-cutoff", "bad-header", "required-option-missing", "tos-host-unreachable", "host-unknown", "time-exceeded", "port-unreachable", "tos-network-unreachable", "parameter-problem", "tos-host-redirect", "destination-unreachable", "no-route", "fragmentation-needed", "unknown-option", "address-unreachable", "echo-reply", "host-unreachable", "ttl-zero-during-reassembly", "router-advertisement", "network-prohibited", "source-quench", "communication-prohibited", "protocol-unreachable", "router-solicitation", "network-unreachable", "network-unknown", "host-redirect", "timestamp-reply", "packet-too-big", "timestamp-request", "neighbour-solicitation", "tos-network-redirect", "ttl-zero-during-transit", "network-redirect", "host-prohibited", "reject-route", "ip-header-bad", "unknown-header-type", "echo-request", "source-route-failed", "host-precedence-violation", "neighbour-advertisement", "beyond-scope" ], "services": [ "rsh", "kprop", "pmwebapis", "libvirt", "snmp", "kpasswd", "pop3s", "imap", "jenkins", "dropbox-lansync", "docker-registry", "etcd-client", "mongodb", "tor-socks", "samba-dc", "vdsm", "ganglia-master", "iscsi-target", "proxy-dhcp", "high-availability", "RH-Satellite-6-capsule", "condor-collector", "ftp", "kibana", "freeipa-ldaps", "freeipa-ldap", "smtp-submission", "kshell", "amqps", "libvirt-tls", "nfs3", "ptp", "bitcoin-testnet-rpc", "managesieve", "mssql", "xmpp-local", "synergy", "bacula", "mqtt", "amanda-k5-client", "ipp-client", "matrix", "ntp", "amanda-client", "nut", "bitcoin", "privoxy", "RH-Satellite-6", "syncthing", "mountd", "distcc", "postgresql", "nrpe", "svdrp", "wbem-https", "bgp", "pmproxy", "murmur", "etcd-server", "mqtt-tls", "sips", "irc", "bitcoin-testnet", "apcupsd", "tinc", "kerberos", "radius", "transmission-client", "pmwebapi", "ovirt-vmconsole", "steam-streaming", "isns", "dhcpv6", "lightning-network", "git", "rtsp", "squid", "openvpn", "smtps", "cfengine", "zabbix-agent", "samba-client", "rsyncd", "ovirt-storageconsole", "ircs", "llmnr", "gre", "ldaps", "xmpp-client", "dhcp", "xmpp-server", "sane", "vnc-server", "ceph", "freeipa-replication", "dns", "docker-swarm", "mosh", "xmpp-bosh", "klogin", "slp", "snmptrap", "upnp-client", "ceph-mon", "samba", "rpc-bind", "salt-master", "wsmans", "bitcoin-rpc", "minidlna", "tftp-client", "freeipa-trust", "syslog-tls", "ipsec", "dhcpv6-client", "telnet", "https", "audit", "ssh", "pop3", "nmea-0183", "zabbix-server", "wsman", "xdmcp", "puppetmaster", "finger", "ipp", "ms-wbt", "syncthing-gui", "redis", "syslog", "ganglia-client", "ovirt-imageio", "pmcd", "ldap", "nfs", "kadmin", "sip", "ctdb", "spideroak-lansync", "amqp", "mdns", "http", "quassel", "imaps", "mysql", "elasticsearch", "bacula-client", "smtp", "tftp", "svn", "plex", "wbem-http", "pulseaudio" ], "zones": [ "block", "internal", "drop", "public", "work", "trusted", "external", "home", "dmz" ] }, "default_zone": "public" } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Tuesday 29 April 2025 12:54:54 -0400 (0:00:00.055) 0:00:05.779 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Tuesday 29 April 2025 12:54:54 -0400 (0:00:00.040) 0:00:05.820 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Tuesday 29 April 2025 12:54:54 -0400 (0:00:00.040) 0:00:05.861 ********* skipping: [managed-node1] => {} TASK [Get default zone] ******************************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:11 Tuesday 29 April 2025 12:54:54 -0400 (0:00:00.051) 0:00:05.912 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.263488", "end": "2025-04-29 12:54:55.426759", "rc": 0, "start": "2025-04-29 12:54:55.163271" } STDOUT: public TASK [Remove custom zone] ****************************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:21 Tuesday 29 April 2025 12:54:55 -0400 (0:00:00.708) 0:00:06.621 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.254641", "end": "2025-04-29 12:54:55.982015", "failed_when_result": false, "rc": 112, "start": "2025-04-29 12:54:55.727374" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:27 Tuesday 29 April 2025 12:54:56 -0400 (0:00:00.595) 0:00:07.217 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.267286", "end": "2025-04-29 12:54:56.577463", "failed_when_result": false, "rc": 22, "start": "2025-04-29 12:54:56.310177" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:33 Tuesday 29 April 2025 12:54:56 -0400 (0:00:00.598) 0:00:07.815 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.266840", "end": "2025-04-29 12:54:57.177713", "failed_when_result": false, "rc": 22, "start": "2025-04-29 12:54:56.910873" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:39 Tuesday 29 April 2025 12:54:57 -0400 (0:00:00.578) 0:00:08.394 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.283954", "end": "2025-04-29 12:54:57.767081", "failed_when_result": false, "rc": 22, "start": "2025-04-29 12:54:57.483127" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:45 Tuesday 29 April 2025 12:54:57 -0400 (0:00:00.614) 0:00:09.009 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.269529", "end": "2025-04-29 12:54:58.397007", "failed_when_result": false, "rc": 22, "start": "2025-04-29 12:54:58.127478" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:51 Tuesday 29 April 2025 12:54:58 -0400 (0:00:00.613) 0:00:09.622 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.269138", "end": "2025-04-29 12:54:58.988238", "failed_when_result": false, "rc": 0, "start": "2025-04-29 12:54:58.719100" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:57 Tuesday 29 April 2025 12:54:59 -0400 (0:00:00.587) 0:00:10.210 ********* ok: [managed-node1] => { "changed": false, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.535207", "end": "2025-04-29 12:54:59.846228", "failed_when_result": false, "rc": 22, "start": "2025-04-29 12:54:59.311021" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:66 Tuesday 29 April 2025 12:54:59 -0400 (0:00:00.882) 0:00:11.092 ********* changed: [managed-node1] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.263917", "end": "2025-04-29 12:55:00.494797", "failed_when_result": false, "rc": 0, "start": "2025-04-29 12:55:00.230880" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:72 Tuesday 29 April 2025 12:55:00 -0400 (0:00:00.638) 0:00:11.731 ********* changed: [managed-node1] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.447166", "end": "2025-04-29 12:55:01.308493", "failed_when_result": false, "rc": 0, "start": "2025-04-29 12:55:00.861327" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:80 Tuesday 29 April 2025 12:55:01 -0400 (0:00:00.814) 0:00:12.545 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:88 Tuesday 29 April 2025 12:55:02 -0400 (0:00:00.714) 0:00:13.260 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:96 Tuesday 29 April 2025 12:55:02 -0400 (0:00:00.614) 0:00:13.875 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:104 Tuesday 29 April 2025 12:55:03 -0400 (0:00:00.541) 0:00:14.417 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:112 Tuesday 29 April 2025 12:55:03 -0400 (0:00:00.535) 0:00:14.952 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:120 Tuesday 29 April 2025 12:55:04 -0400 (0:00:00.548) 0:00:15.501 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:128 Tuesday 29 April 2025 12:55:04 -0400 (0:00:00.575) 0:00:16.076 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:136 Tuesday 29 April 2025 12:55:05 -0400 (0:00:00.554) 0:00:16.630 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:144 Tuesday 29 April 2025 12:55:06 -0400 (0:00:00.545) 0:00:17.175 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:153 Tuesday 29 April 2025 12:55:06 -0400 (0:00:00.581) 0:00:17.757 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:162 Tuesday 29 April 2025 12:55:07 -0400 (0:00:00.572) 0:00:18.330 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:170 Tuesday 29 April 2025 12:55:07 -0400 (0:00:00.551) 0:00:18.881 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:178 Tuesday 29 April 2025 12:55:08 -0400 (0:00:00.559) 0:00:19.441 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:187 Tuesday 29 April 2025 12:55:08 -0400 (0:00:00.558) 0:00:19.999 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow nm interface eth0 in permanent trusted zone] *********************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:196 Tuesday 29 April 2025 12:55:09 -0400 (0:00:00.552) 0:00:20.551 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow nm interface eth0 in permanent trusted zone, again] **************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:205 Tuesday 29 April 2025 12:55:09 -0400 (0:00:00.565) 0:00:21.117 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable nm interface eth0 in permanent trusted zone] ********************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:214 Tuesday 29 April 2025 12:55:10 -0400 (0:00:00.530) 0:00:21.648 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Disable nm interface eth0 in permanent trusted zone, again] ************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:223 Tuesday 29 April 2025 12:55:11 -0400 (0:00:00.580) 0:00:22.229 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:232 Tuesday 29 April 2025 12:55:11 -0400 (0:00:00.589) 0:00:22.818 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:241 Tuesday 29 April 2025 12:55:12 -0400 (0:00:00.603) 0:00:23.422 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permanent dmz zone] ******************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:250 Tuesday 29 April 2025 12:55:12 -0400 (0:00:00.566) 0:00:23.988 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permanent dmz zone, again] ************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:258 Tuesday 29 April 2025 12:55:13 -0400 (0:00:00.575) 0:00:24.563 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:266 Tuesday 29 April 2025 12:55:13 -0400 (0:00:00.559) 0:00:25.122 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:274 Tuesday 29 April 2025 12:55:14 -0400 (0:00:00.560) 0:00:25.683 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:282 Tuesday 29 April 2025 12:55:15 -0400 (0:00:00.573) 0:00:26.257 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:290 Tuesday 29 April 2025 12:55:15 -0400 (0:00:00.526) 0:00:26.783 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:299 Tuesday 29 April 2025 12:55:16 -0400 (0:00:00.533) 0:00:27.316 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:308 Tuesday 29 April 2025 12:55:16 -0400 (0:00:00.543) 0:00:27.859 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:317 Tuesday 29 April 2025 12:55:17 -0400 (0:00:00.564) 0:00:28.424 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:326 Tuesday 29 April 2025 12:55:18 -0400 (0:00:00.783) 0:00:29.208 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:335 Tuesday 29 April 2025 12:55:18 -0400 (0:00:00.558) 0:00:29.766 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:344 Tuesday 29 April 2025 12:55:19 -0400 (0:00:00.730) 0:00:30.497 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:353 Tuesday 29 April 2025 12:55:19 -0400 (0:00:00.560) 0:00:31.058 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:363 Tuesday 29 April 2025 12:55:20 -0400 (0:00:00.574) 0:00:31.632 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:373 Tuesday 29 April 2025 12:55:21 -0400 (0:00:00.551) 0:00:32.184 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true } TASK [Assert firewalld custom zone] ******************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:381 Tuesday 29 April 2025 12:55:21 -0400 (0:00:00.746) 0:00:32.930 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:386 Tuesday 29 April 2025 12:55:21 -0400 (0:00:00.052) 0:00:32.983 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:396 Tuesday 29 April 2025 12:55:22 -0400 (0:00:00.552) 0:00:33.535 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:406 Tuesday 29 April 2025 12:55:22 -0400 (0:00:00.567) 0:00:34.102 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.254842", "end": "2025-04-29 12:55:23.445443", "rc": 0, "start": "2025-04-29 12:55:23.190601" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [Set default zone] ******************************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:410 Tuesday 29 April 2025 12:55:23 -0400 (0:00:00.546) 0:00:34.648 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Set default zone, again] ************************************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:417 Tuesday 29 April 2025 12:55:24 -0400 (0:00:00.577) 0:00:35.226 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add multiple custom services] ******************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:424 Tuesday 29 April 2025 12:55:24 -0400 (0:00:00.552) 0:00:35.778 ********* ok: [managed-node1] => { "changed": false, "failed_when_result": false } MSG: can only add, modify, or remove one service at a time TASK [Add custom service without details] ************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:434 Tuesday 29 April 2025 12:55:25 -0400 (0:00:00.428) 0:00:36.206 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add custom service that already exists] ********************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:442 Tuesday 29 April 2025 12:55:25 -0400 (0:00:00.842) 0:00:37.049 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add description to custom service] *************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:450 Tuesday 29 April 2025 12:55:26 -0400 (0:00:00.574) 0:00:37.623 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add short description to custom service] ********************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:459 Tuesday 29 April 2025 12:55:27 -0400 (0:00:00.809) 0:00:38.432 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service] ************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:468 Tuesday 29 April 2025 12:55:28 -0400 (0:00:00.750) 0:00:39.183 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service again] ******************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:477 Tuesday 29 April 2025 12:55:28 -0400 (0:00:00.754) 0:00:39.938 ********* ok: [managed-node1] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add invalid protocol to custom service] ********************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:486 Tuesday 29 April 2025 12:55:29 -0400 (0:00:00.525) 0:00:40.463 ********* ok: [managed-node1] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [Add valid protocol to custom service] ************************************ task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:495 Tuesday 29 April 2025 12:55:29 -0400 (0:00:00.535) 0:00:40.999 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove valid protocol from customservice] ******************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:504 Tuesday 29 April 2025 12:55:30 -0400 (0:00:00.764) 0:00:41.763 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove ports from custom service without deleting service] *************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:513 Tuesday 29 April 2025 12:55:31 -0400 (0:00:00.770) 0:00:42.534 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add destination addresses] *********************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:522 Tuesday 29 April 2025 12:55:32 -0400 (0:00:00.811) 0:00:43.345 ********* changed: [managed-node1] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add includes] ************************************************************ task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:533 Tuesday 29 April 2025 12:55:32 -0400 (0:00:00.796) 0:00:44.142 ********* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'FirewallClientServiceSettings' object has no attribute 'queryInclude' fatal: [managed-node1]: FAILED! => { "changed": false, "failed_when_result": true, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1745945733.03-11699-122130309626434/AnsiballZ_firewall_lib.py", line 102, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1745945733.03-11699-122130309626434/AnsiballZ_firewall_lib.py", line 94, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1745945733.03-11699-122130309626434/AnsiballZ_firewall_lib.py", line 40, in invoke_module runpy.run_module(mod_name='ansible_collections.fedora.linux_system_roles.plugins.modules.firewall_lib', init_globals=None, run_name='__main__', alter_sys=True) File "/usr/lib64/python2.7/runpy.py", line 176, in run_module fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code mod_name, mod_fname, mod_loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/tmp/ansible_fedora.linux_system_roles.firewall_lib_payload_VHtbh_/ansible_fedora.linux_system_roles.firewall_lib_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/firewall_lib.py", line 1590, in File "/tmp/ansible_fedora.linux_system_roles.firewall_lib_payload_VHtbh_/ansible_fedora.linux_system_roles.firewall_lib_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/firewall_lib.py", line 1159, in main AttributeError: 'FirewallClientServiceSettings' object has no attribute 'queryInclude' MODULE_STDERR: Shared connection to 10.31.8.142 closed. TASK [Remove custom zone] ****************************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:662 Tuesday 29 April 2025 12:55:33 -0400 (0:00:00.553) 0:00:44.695 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.268597", "end": "2025-04-29 12:55:34.065717", "failed_when_result": false, "rc": 0, "start": "2025-04-29 12:55:33.797120" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:668 Tuesday 29 April 2025 12:55:34 -0400 (0:00:00.590) 0:00:45.285 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.265584", "end": "2025-04-29 12:55:34.667950", "failed_when_result": false, "rc": 0, "start": "2025-04-29 12:55:34.402366" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:674 Tuesday 29 April 2025 12:55:34 -0400 (0:00:00.625) 0:00:45.911 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.283926", "end": "2025-04-29 12:55:35.299722", "failed_when_result": false, "rc": 0, "start": "2025-04-29 12:55:35.015796" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:680 Tuesday 29 April 2025 12:55:35 -0400 (0:00:00.629) 0:00:46.541 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.265925", "end": "2025-04-29 12:55:35.946098", "failed_when_result": false, "rc": 0, "start": "2025-04-29 12:55:35.680173" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:686 Tuesday 29 April 2025 12:55:36 -0400 (0:00:00.644) 0:00:47.186 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.268080", "end": "2025-04-29 12:55:36.550966", "failed_when_result": false, "rc": 0, "start": "2025-04-29 12:55:36.282886" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:692 Tuesday 29 April 2025 12:55:36 -0400 (0:00:00.607) 0:00:47.793 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.269416", "end": "2025-04-29 12:55:37.194798", "failed_when_result": false, "rc": 0, "start": "2025-04-29 12:55:36.925382" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:698 Tuesday 29 April 2025 12:55:37 -0400 (0:00:00.643) 0:00:48.437 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.284571", "end": "2025-04-29 12:55:37.834629", "failed_when_result": false, "rc": 0, "start": "2025-04-29 12:55:37.550058" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:704 Tuesday 29 April 2025 12:55:37 -0400 (0:00:00.641) 0:00:49.078 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.272304", "end": "2025-04-29 12:55:38.467457", "failed_when_result": false, "rc": 22, "start": "2025-04-29 12:55:38.195153" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone] ****************************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:710 Tuesday 29 April 2025 12:55:38 -0400 (0:00:00.633) 0:00:49.712 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone=public" ], "delta": "0:00:00.304437", "end": "2025-04-29 12:55:39.171695", "rc": 0, "start": "2025-04-29 12:55:38.867258" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:716 Tuesday 29 April 2025 12:55:39 -0400 (0:00:00.654) 0:00:50.367 ********* changed: [managed-node1] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.450443", "end": "2025-04-29 12:55:39.919945", "failed_when_result": false, "rc": 0, "start": "2025-04-29 12:55:39.469502" } STDOUT: success PLAY RECAP ********************************************************************* managed-node1 : ok=85 changed=31 unreachable=0 failed=1 skipped=14 rescued=0 ignored=0 Tuesday 29 April 2025 12:55:40 -0400 (0:00:00.783) 0:00:51.151 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.11s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:2 Reset default zone to defaults ------------------------------------------ 0.88s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:57 Add custom service without details -------------------------------------- 0.84s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:434 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.82s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Reload firewalld -------------------------------------------------------- 0.81s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:72 Remove ports from custom service without deleting service --------------- 0.81s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:513 Add description to custom service --------------------------------------- 0.81s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:450 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.80s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Add destination addresses ----------------------------------------------- 0.80s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:522 Reload firewalld -------------------------------------------------------- 0.78s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:716 Ensure target ACCEPT in permanent internal zone ------------------------- 0.78s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:317 Remove valid protocol from customservice -------------------------------- 0.77s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:504 Add valid protocol to custom service ------------------------------------ 0.76s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:495 fedora.linux_system_roles.firewall : Gather firewall config if no arguments --- 0.76s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Add source_ports to custom service -------------------------------------- 0.75s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:468 Add short description to custom service --------------------------------- 0.75s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:459 Firewalld custom zone --------------------------------------------------- 0.75s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:373 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.73s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Ensure default target in permanent internal zone ------------------------ 0.73s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:335 Permit traffic in default zone for https service ------------------------ 0.71s /tmp/collections-Tsf/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:80