# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cik0bxvda3/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:2 Saturday 20 January 2024 05:49:25 +0000 (0:00:00.015) 0:00:00.015 ****** ok: [sut] TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 20 January 2024 05:49:26 +0000 (0:00:00.713) 0:00:00.729 ****** included: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for sut TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 20 January 2024 05:49:26 +0000 (0:00:00.012) 0:00:00.742 ****** skipping: [sut] => { "changed": false, "false_condition": "__firewall_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 20 January 2024 05:49:26 +0000 (0:00:00.019) 0:00:00.761 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 20 January 2024 05:49:26 +0000 (0:00:00.197) 0:00:00.959 ****** ok: [sut] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:19 Saturday 20 January 2024 05:49:26 +0000 (0:00:00.015) 0:00:00.974 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 20 January 2024 05:49:27 +0000 (0:00:00.446) 0:00:01.421 ****** skipping: [sut] => { "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 20 January 2024 05:49:27 +0000 (0:00:00.015) 0:00:01.437 ****** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "false_condition": "firewall_disable_conflicting_services | bool", "item": "ufw", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 20 January 2024 05:49:27 +0000 (0:00:00.021) 0:00:01.458 ****** ok: [sut] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.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": "ebtables.service shutdown.target ipset.service iptables.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": "basic.target system.slice", "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: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 20 January 2024 05:49:27 +0000 (0:00:00.386) 0:00:01.845 ****** changed: [sut] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target network-pre.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 ipset.service ip6tables.service iptables.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": "basic.target system.slice", "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: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 20 January 2024 05:49:28 +0000 (0:00:00.795) 0:00:02.641 ****** ok: [sut] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python2", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 20 January 2024 05:49:28 +0000 (0:00:00.023) 0:00:02.664 ****** skipping: [sut] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 20 January 2024 05:49:28 +0000 (0:00:00.017) 0:00:02.682 ****** skipping: [sut] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 20 January 2024 05:49:28 +0000 (0:00:00.029) 0:00:02.711 ****** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 20 January 2024 05:49:28 +0000 (0:00:00.025) 0:00:02.736 ****** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 20 January 2024 05:49:28 +0000 (0:00:00.021) 0:00:02.758 ****** skipping: [sut] => { "changed": false, "false_condition": "firewall | length == 1", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 20 January 2024 05:49:28 +0000 (0:00:00.019) 0:00:02.777 ****** ok: [sut] => { "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": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "services": [ "jenkins", "snmp", "RH-Satellite-6-capsule", "kpasswd", "RH-Satellite-6", "kprop", "amanda-client", "kadmin", "snmptrap", "amanda-k5-client", "pmcd", "amqp", "pmproxy", "amqps", "pmwebapi", "apcupsd", "pmwebapis", "audit", "kshell", "bacula-client", "pop3", "bacula", "pop3s", "bgp", "ldap", "bitcoin-rpc", "kerberos", "squid", "bitcoin-testnet-rpc", "ldaps", "bitcoin-testnet", "postgresql", "bitcoin", "mountd", "ceph-mon", "privoxy", "ceph", "mqtt-tls", "cfengine", "kibana", "ssh", "condor-collector", "proxy-dhcp", "ctdb", "ptp", "dhcp", "mqtt", "dhcpv6-client", "pulseaudio", "dhcpv6", "puppetmaster", "distcc", "quassel", "dns", "ms-wbt", "docker-registry", "mssql", "docker-swarm", "murmur", "dropbox-lansync", "mysql", "elasticsearch", "nfs", "etcd-client", "nfs3", "etcd-server", "radius", "finger", "nmea-0183", "freeipa-ldap", "nrpe", "freeipa-ldaps", "mongodb", "svdrp", "freeipa-replication", "ntp", "freeipa-trust", "redis", "ftp", "nut", "ganglia-client", "openvpn", "ganglia-master", "rpc-bind", "git", "rsh", "gre", "klogin", "svn", "high-availability", "rsyncd", "http", "rtsp", "https", "salt-master", "imap", "samba-client", "imaps", "ovirt-imageio", "ipp-client", "samba-dc", "ipp", "samba", "ipsec", "sane", "irc", "sip", "ircs", "ovirt-storageconsole", "iscsi-target", "sips", "isns", "libvirt-tls", "slp", "libvirt", "mosh", "synergy", "lightning-network", "smtp-submission", "llmnr", "ovirt-vmconsole", "managesieve", "smtp", "matrix", "smtps", "mdns", "plex", "minidlna", "tftp-client", "syslog", "spideroak-lansync", "steam-streaming", "syncthing-gui", "syncthing", "syslog-tls", "telnet", "tftp", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 20 January 2024 05:49:32 +0000 (0:00:03.929) 0:00:06.707 ****** ok: [sut] => { "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": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "services": [ "jenkins", "snmp", "RH-Satellite-6-capsule", "kpasswd", "RH-Satellite-6", "kprop", "amanda-client", "kadmin", "snmptrap", "amanda-k5-client", "pmcd", "amqp", "pmproxy", "amqps", "pmwebapi", "apcupsd", "pmwebapis", "audit", "kshell", "bacula-client", "pop3", "bacula", "pop3s", "bgp", "ldap", "bitcoin-rpc", "kerberos", "squid", "bitcoin-testnet-rpc", "ldaps", "bitcoin-testnet", "postgresql", "bitcoin", "mountd", "ceph-mon", "privoxy", "ceph", "mqtt-tls", "cfengine", "kibana", "ssh", "condor-collector", "proxy-dhcp", "ctdb", "ptp", "dhcp", "mqtt", "dhcpv6-client", "pulseaudio", "dhcpv6", "puppetmaster", "distcc", "quassel", "dns", "ms-wbt", "docker-registry", "mssql", "docker-swarm", "murmur", "dropbox-lansync", "mysql", "elasticsearch", "nfs", "etcd-client", "nfs3", "etcd-server", "radius", "finger", "nmea-0183", "freeipa-ldap", "nrpe", "freeipa-ldaps", "mongodb", "svdrp", "freeipa-replication", "ntp", "freeipa-trust", "redis", "ftp", "nut", "ganglia-client", "openvpn", "ganglia-master", "rpc-bind", "git", "rsh", "gre", "klogin", "svn", "high-availability", "rsyncd", "http", "rtsp", "https", "salt-master", "imap", "samba-client", "imaps", "ovirt-imageio", "ipp-client", "samba-dc", "ipp", "samba", "ipsec", "sane", "irc", "sip", "ircs", "ovirt-storageconsole", "iscsi-target", "sips", "isns", "libvirt-tls", "slp", "libvirt", "mosh", "synergy", "lightning-network", "smtp-submission", "llmnr", "ovirt-vmconsole", "managesieve", "smtp", "matrix", "smtps", "mdns", "plex", "minidlna", "tftp-client", "syslog", "spideroak-lansync", "steam-streaming", "syncthing-gui", "syncthing", "syslog-tls", "telnet", "tftp", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 20 January 2024 05:49:32 +0000 (0:00:00.021) 0:00:06.728 ****** skipping: [sut] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 20 January 2024 05:49:32 +0000 (0:00:00.015) 0:00:06.744 ****** skipping: [sut] => { "changed": false, "false_condition": "__firewall_previous_replaced | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 20 January 2024 05:49:32 +0000 (0:00:00.014) 0:00:06.758 ****** skipping: [sut] => { "false_condition": "__firewall_previous_replaced | bool" } TASK [Get default zone] ******************************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:11 Saturday 20 January 2024 05:49:32 +0000 (0:00:00.016) 0:00:06.775 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.322446", "end": "2024-01-20 05:49:33.136272", "rc": 0, "start": "2024-01-20 05:49:32.813826" } STDOUT: public TASK [Remove custom zone] ****************************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:21 Saturday 20 January 2024 05:49:33 +0000 (0:00:00.507) 0:00:07.283 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.301796", "end": "2024-01-20 05:49:33.568763", "failed_when_result": false, "rc": 112, "start": "2024-01-20 05:49:33.266967" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:27 Saturday 20 January 2024 05:49:33 +0000 (0:00:00.433) 0:00:07.716 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.345787", "end": "2024-01-20 05:49:34.049719", "failed_when_result": false, "rc": 22, "start": "2024-01-20 05:49:33.703932" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:33 Saturday 20 January 2024 05:49:34 +0000 (0:00:00.480) 0:00:08.197 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.311530", "end": "2024-01-20 05:49:34.490000", "failed_when_result": false, "rc": 22, "start": "2024-01-20 05:49:34.178470" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:39 Saturday 20 January 2024 05:49:34 +0000 (0:00:00.440) 0:00:08.637 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.325641", "end": "2024-01-20 05:49:34.946790", "failed_when_result": false, "rc": 22, "start": "2024-01-20 05:49:34.621149" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:45 Saturday 20 January 2024 05:49:34 +0000 (0:00:00.458) 0:00:09.095 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.309153", "end": "2024-01-20 05:49:35.384585", "failed_when_result": false, "rc": 22, "start": "2024-01-20 05:49:35.075432" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:51 Saturday 20 January 2024 05:49:35 +0000 (0:00:00.436) 0:00:09.532 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.312538", "end": "2024-01-20 05:49:35.826725", "failed_when_result": false, "rc": 0, "start": "2024-01-20 05:49:35.514187" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:57 Saturday 20 January 2024 05:49:35 +0000 (0:00:00.445) 0:00:09.978 ****** ok: [sut] => { "changed": false, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.621162", "end": "2024-01-20 05:49:36.583334", "failed_when_result": false, "rc": 22, "start": "2024-01-20 05:49:35.962172" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:66 Saturday 20 January 2024 05:49:36 +0000 (0:00:00.752) 0:00:10.731 ****** changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.300411", "end": "2024-01-20 05:49:37.015109", "failed_when_result": false, "rc": 0, "start": "2024-01-20 05:49:36.714698" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:72 Saturday 20 January 2024 05:49:37 +0000 (0:00:00.438) 0:00:11.169 ****** changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.518965", "end": "2024-01-20 05:49:37.672100", "failed_when_result": false, "rc": 0, "start": "2024-01-20 05:49:37.153135" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:80 Saturday 20 January 2024 05:49:37 +0000 (0:00:00.653) 0:00:11.822 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:88 Saturday 20 January 2024 05:49:38 +0000 (0:00:00.486) 0:00:12.309 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:96 Saturday 20 January 2024 05:49:38 +0000 (0:00:00.398) 0:00:12.708 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:104 Saturday 20 January 2024 05:49:38 +0000 (0:00:00.384) 0:00:13.092 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:112 Saturday 20 January 2024 05:49:39 +0000 (0:00:00.391) 0:00:13.484 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:120 Saturday 20 January 2024 05:49:39 +0000 (0:00:00.380) 0:00:13.865 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:128 Saturday 20 January 2024 05:49:40 +0000 (0:00:00.399) 0:00:14.264 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:136 Saturday 20 January 2024 05:49:40 +0000 (0:00:00.397) 0:00:14.661 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:144 Saturday 20 January 2024 05:49:40 +0000 (0:00:00.392) 0:00:15.054 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:153 Saturday 20 January 2024 05:49:41 +0000 (0:00:00.391) 0:00:15.446 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:162 Saturday 20 January 2024 05:49:41 +0000 (0:00:00.400) 0:00:15.846 ****** changed: [sut] => { "__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: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:170 Saturday 20 January 2024 05:49:42 +0000 (0:00:00.387) 0:00:16.234 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:178 Saturday 20 January 2024 05:49:42 +0000 (0:00:00.392) 0:00:16.626 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:187 Saturday 20 January 2024 05:49:42 +0000 (0:00:00.386) 0:00:17.013 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow nm interface eth0 in permanent trusted zone] *********************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:196 Saturday 20 January 2024 05:49:43 +0000 (0:00:00.393) 0:00:17.406 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow nm interface eth0 in permanent trusted zone, again] **************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:205 Saturday 20 January 2024 05:49:43 +0000 (0:00:00.436) 0:00:17.843 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable nm interface eth0 in permanent trusted zone] ********************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:214 Saturday 20 January 2024 05:49:44 +0000 (0:00:00.398) 0:00:18.241 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Disable nm interface eth0 in permanent trusted zone, again] ************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:223 Saturday 20 January 2024 05:49:44 +0000 (0:00:00.428) 0:00:18.669 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:232 Saturday 20 January 2024 05:49:44 +0000 (0:00:00.409) 0:00:19.079 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:241 Saturday 20 January 2024 05:49:45 +0000 (0:00:00.407) 0:00:19.486 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:250 Saturday 20 January 2024 05:49:45 +0000 (0:00:00.403) 0:00:19.890 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:258 Saturday 20 January 2024 05:49:46 +0000 (0:00:00.381) 0:00:20.271 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:266 Saturday 20 January 2024 05:49:46 +0000 (0:00:00.392) 0:00:20.664 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:274 Saturday 20 January 2024 05:49:46 +0000 (0:00:00.373) 0:00:21.037 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:282 Saturday 20 January 2024 05:49:47 +0000 (0:00:00.386) 0:00:21.424 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:290 Saturday 20 January 2024 05:49:47 +0000 (0:00:00.377) 0:00:21.802 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:299 Saturday 20 January 2024 05:49:48 +0000 (0:00:00.396) 0:00:22.198 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:308 Saturday 20 January 2024 05:49:48 +0000 (0:00:00.374) 0:00:22.573 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:317 Saturday 20 January 2024 05:49:48 +0000 (0:00:00.376) 0:00:22.950 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:326 Saturday 20 January 2024 05:49:49 +0000 (0:00:00.648) 0:00:23.598 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:335 Saturday 20 January 2024 05:49:49 +0000 (0:00:00.396) 0:00:23.995 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:344 Saturday 20 January 2024 05:49:50 +0000 (0:00:00.647) 0:00:24.643 ****** ok: [sut] => { "__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: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:353 Saturday 20 January 2024 05:49:50 +0000 (0:00:00.380) 0:00:25.024 ****** changed: [sut] => { "__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: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:363 Saturday 20 January 2024 05:49:51 +0000 (0:00:00.404) 0:00:25.428 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:373 Saturday 20 January 2024 05:49:51 +0000 (0:00:00.398) 0:00:25.827 ****** changed: [sut] => { "__firewall_changed": true, "changed": true } TASK [Assert firewalld custom zone] ******************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:381 Saturday 20 January 2024 05:49:52 +0000 (0:00:00.652) 0:00:26.479 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:386 Saturday 20 January 2024 05:49:52 +0000 (0:00:00.017) 0:00:26.497 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:396 Saturday 20 January 2024 05:49:52 +0000 (0:00:00.414) 0:00:26.911 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:406 Saturday 20 January 2024 05:49:53 +0000 (0:00:00.407) 0:00:27.319 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.294328", "end": "2024-01-20 05:49:53.597685", "rc": 0, "start": "2024-01-20 05:49:53.303357" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [Set default zone] ******************************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:410 Saturday 20 January 2024 05:49:53 +0000 (0:00:00.425) 0:00:27.744 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Set default zone, again] ************************************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:417 Saturday 20 January 2024 05:49:54 +0000 (0:00:00.435) 0:00:28.180 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add multiple custom services] ******************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:424 Saturday 20 January 2024 05:49:54 +0000 (0:00:00.387) 0:00:28.567 ****** ok: [sut] => { "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: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:434 Saturday 20 January 2024 05:49:54 +0000 (0:00:00.281) 0:00:28.849 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add custom service that already exists] ********************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:442 Saturday 20 January 2024 05:49:55 +0000 (0:00:00.695) 0:00:29.544 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add description to custom service] *************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:450 Saturday 20 January 2024 05:49:55 +0000 (0:00:00.408) 0:00:29.953 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add short description to custom service] ********************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:459 Saturday 20 January 2024 05:49:56 +0000 (0:00:00.655) 0:00:30.608 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service] ************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:468 Saturday 20 January 2024 05:49:57 +0000 (0:00:00.696) 0:00:31.304 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service again] ******************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:477 Saturday 20 January 2024 05:49:57 +0000 (0:00:00.683) 0:00:31.987 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add invalid protocol to custom service] ********************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:486 Saturday 20 January 2024 05:49:58 +0000 (0:00:00.396) 0:00:32.384 ****** ok: [sut] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [Add valid protocol to custom service] ************************************ task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:495 Saturday 20 January 2024 05:49:58 +0000 (0:00:00.403) 0:00:32.788 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove valid protocol from customservice] ******************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:504 Saturday 20 January 2024 05:49:59 +0000 (0:00:00.686) 0:00:33.474 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove ports from custom service without deleting service] *************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:513 Saturday 20 January 2024 05:50:00 +0000 (0:00:00.675) 0:00:34.149 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add destination addresses] *********************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:522 Saturday 20 January 2024 05:50:00 +0000 (0:00:00.662) 0:00:34.812 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service] *************************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:533 Saturday 20 January 2024 05:50:01 +0000 (0:00:00.701) 0:00:35.513 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service again] ********************************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:541 Saturday 20 January 2024 05:50:02 +0000 (0:00:00.753) 0:00:36.267 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add custom service with all the elements at once] ************************ task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:549 Saturday 20 January 2024 05:50:02 +0000 (0:00:00.457) 0:00:36.725 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add helper module that already is on customservice] ********************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:566 Saturday 20 January 2024 05:50:03 +0000 (0:00:00.733) 0:00:37.458 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:575 Saturday 20 January 2024 05:50:03 +0000 (0:00:00.472) 0:00:37.930 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward same port again (string)] **************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:582 Saturday 20 January 2024 05:50:04 +0000 (0:00:00.392) 0:00:38.323 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (string)] ******************************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:589 Saturday 20 January 2024 05:50:04 +0000 (0:00:00.394) 0:00:38.717 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port (dict form)] ************************************************ task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:596 Saturday 20 January 2024 05:50:05 +0000 (0:00:00.417) 0:00:39.135 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port again (dict form)] ****************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:607 Saturday 20 January 2024 05:50:05 +0000 (0:00:00.409) 0:00:39.545 ****** ok: [sut] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (dict form)] **************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:618 Saturday 20 January 2024 05:50:05 +0000 (0:00:00.393) 0:00:39.938 ****** changed: [sut] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:637 Saturday 20 January 2024 05:50:06 +0000 (0:00:00.400) 0:00:40.339 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.335099", "end": "2024-01-20 05:50:06.658532", "failed_when_result": false, "rc": 0, "start": "2024-01-20 05:50:06.323433" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:643 Saturday 20 January 2024 05:50:06 +0000 (0:00:00.482) 0:00:40.822 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.315427", "end": "2024-01-20 05:50:07.128219", "failed_when_result": false, "rc": 0, "start": "2024-01-20 05:50:06.812792" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:649 Saturday 20 January 2024 05:50:07 +0000 (0:00:00.456) 0:00:41.278 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.318994", "end": "2024-01-20 05:50:07.593174", "failed_when_result": false, "rc": 0, "start": "2024-01-20 05:50:07.274180" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:655 Saturday 20 January 2024 05:50:07 +0000 (0:00:00.465) 0:00:41.744 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.314014", "end": "2024-01-20 05:50:08.054603", "failed_when_result": false, "rc": 0, "start": "2024-01-20 05:50:07.740589" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:661 Saturday 20 January 2024 05:50:08 +0000 (0:00:00.460) 0:00:42.204 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.336294", "end": "2024-01-20 05:50:08.560121", "failed_when_result": false, "rc": 0, "start": "2024-01-20 05:50:08.223827" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:667 Saturday 20 January 2024 05:50:08 +0000 (0:00:00.506) 0:00:42.710 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.322727", "end": "2024-01-20 05:50:09.022673", "failed_when_result": false, "rc": 0, "start": "2024-01-20 05:50:08.699946" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:673 Saturday 20 January 2024 05:50:09 +0000 (0:00:00.459) 0:00:43.170 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.313399", "end": "2024-01-20 05:50:09.479012", "failed_when_result": false, "rc": 0, "start": "2024-01-20 05:50:09.165613" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:679 Saturday 20 January 2024 05:50:09 +0000 (0:00:00.463) 0:00:43.633 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.314449", "end": "2024-01-20 05:50:09.976234", "failed_when_result": false, "rc": 22, "start": "2024-01-20 05:50:09.661785" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone] ****************************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:685 Saturday 20 January 2024 05:50:10 +0000 (0:00:00.497) 0:00:44.131 ****** ok: [sut] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone=public" ], "delta": "0:00:00.370568", "end": "2024-01-20 05:50:10.514519", "rc": 0, "start": "2024-01-20 05:50:10.143951" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:691 Saturday 20 January 2024 05:50:10 +0000 (0:00:00.531) 0:00:44.662 ****** changed: [sut] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.540038", "end": "2024-01-20 05:50:11.187388", "failed_when_result": false, "rc": 0, "start": "2024-01-20 05:50:10.647350" } STDOUT: success PLAY RECAP ********************************************************************* sut : ok=93 changed=37 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Saturday 20 January 2024 05:50:11 +0000 (0:00:00.677) 0:00:45.339 ****** =============================================================================== fedora.linux_system_roles.firewall : Gather firewall config if no arguments --- 3.93s /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.80s /WORKDIR/git-weekly-cik0bxvda3/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Delete custom service --------------------------------------------------- 0.75s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:533 -------------------- Reset default zone to defaults ------------------------------------------ 0.75s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:57 --------------------- Add custom service with all the elements at once ------------------------ 0.73s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:549 -------------------- Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:2 ---------------------- Add destination addresses ----------------------------------------------- 0.70s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:522 -------------------- Add short description to custom service --------------------------------- 0.70s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:459 -------------------- Add custom service without details -------------------------------------- 0.70s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:434 -------------------- Add valid protocol to custom service ------------------------------------ 0.69s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:495 -------------------- Add source_ports to custom service -------------------------------------- 0.68s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:468 -------------------- Reload firewalld -------------------------------------------------------- 0.68s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:691 -------------------- Remove valid protocol from customservice -------------------------------- 0.68s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:504 -------------------- Remove ports from custom service without deleting service --------------- 0.66s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:513 -------------------- Add description to custom service --------------------------------------- 0.66s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:450 -------------------- Reload firewalld -------------------------------------------------------- 0.65s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:72 --------------------- Firewalld custom zone --------------------------------------------------- 0.65s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:373 -------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 0.65s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:317 -------------------- Ensure default target in permanent internal zone ------------------------ 0.65s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:335 -------------------- Reset default zone ------------------------------------------------------ 0.53s /WORKDIR/git-weekly-cik0bxvda3/tests/tests_ansible.yml:685 -------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---