ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpx2we9fjr executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Friday 22 July 2022 00:22:55 +0000 (0:00:00.018) 0:00:00.018 *********** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Friday 22 July 2022 00:22:57 +0000 (0:00:01.303) 0:00:01.321 *********** =============================================================================== set up internal repositories -------------------------------------------- 1.30s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_service.yml **************************************************** 1 plays in /tmp/tmpa46hewky/tests/tests_service.yml PLAY [Test firewall user defined services] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:1 Friday 22 July 2022 00:22:57 +0000 (0:00:00.042) 0:00:01.363 *********** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Start from clean slate] ************************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:10 Friday 22 July 2022 00:22:58 +0000 (0:00:01.034) 0:00:02.398 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:22:58 +0000 (0:00:00.038) 0:00:02.437 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:22:58 +0000 (0:00:00.028) 0:00:02.465 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:22:58 +0000 (0:00:00.516) 0:00:02.982 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:23:00 +0000 (0:00:01.403) 0:00:04.385 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:23:00 +0000 (0:00:00.023) 0:00:04.408 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:01 +0000 (0:00:01.224) 0:00:05.633 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "25059328", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:02 +0000 (0:00:00.779) 0:00:06.412 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:23:02 +0000 (0:00:00.046) 0:00:06.459 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:23:02 +0000 (0:00:00.249) 0:00:06.708 *********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:23:02 +0000 (0:00:00.034) 0:00:06.742 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:02 +0000 (0:00:00.225) 0:00:06.968 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:23:02 +0000 (0:00:00.049) 0:00:07.018 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [get all services] ******************************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:19 Friday 22 July 2022 00:23:02 +0000 (0:00:00.043) 0:00:07.061 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.272311", "end": "2022-07-21 20:23:03.101928", "rc": 0, "start": "2022-07-21 20:23:02.829617" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bb bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc bittorrent-lsd ceph ceph-mon cfengine cockpit collectd condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns dns-over-tls docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger foreman foreman-proxy freeipa-4 freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp galera ganglia-client ganglia-master git grafana gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kdeconnect kerberos kibana klogin kpasswd kprop kshell kube-apiserver ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns memcache minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nbd nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy prometheus proxy-dhcp ptp pulseaudio puppetmaster quassel radius rdp redis redis-sentinel rpc-bind rquotad rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync spotify-sync squid ssdp ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls telnet tentacle tftp tftp-client tile38 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 TASK [Fail if http not present after reset] ************************************ task path: /tmp/tmpa46hewky/tests/tests_service.yml:23 Friday 22 July 2022 00:23:03 +0000 (0:00:00.782) 0:00:07.844 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail if systemroletest present prior to test run] ************************ task path: /tmp/tmpa46hewky/tests/tests_service.yml:30 Friday 22 July 2022 00:23:03 +0000 (0:00:00.034) 0:00:07.878 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ensure http has default configuration] *********************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:35 Friday 22 July 2022 00:23:03 +0000 (0:00:00.021) 0:00:07.900 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:03 +0000 (0:00:00.042) 0:00:07.943 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:03 +0000 (0:00:00.026) 0:00:07.970 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:23:04 +0000 (0:00:00.583) 0:00:08.553 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:23:05 +0000 (0:00:01.228) 0:00:09.782 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:23:05 +0000 (0:00:00.031) 0:00:09.813 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:07 +0000 (0:00:01.305) 0:00:11.119 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "25939968", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:07 +0000 (0:00:00.495) 0:00:11.614 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:23:07 +0000 (0:00:00.048) 0:00:11.663 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:23:07 +0000 (0:00:00.032) 0:00:11.695 *********** ok: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'short': 'WWW (HTTP)', 'description': 'HTTP is the protocol used to serve Web pages. If you plan to make your Web server publicly available, enable this option. This option is not required for viewing pages locally or developing Web pages.', 'port': ['80/tcp'], 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "HTTP is the protocol used to serve Web pages. If you plan to make your Web server publicly available, enable this option. This option is not required for viewing pages locally or developing Web pages.", "permanent": true, "port": [ "80/tcp" ], "service": "http", "short": "WWW (HTTP)", "state": "present" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:23:08 +0000 (0:00:00.722) 0:00:12.418 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:08 +0000 (0:00:00.032) 0:00:12.451 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:23:08 +0000 (0:00:00.030) 0:00:12.482 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Fail if service changed] ************************************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:52 Friday 22 July 2022 00:23:08 +0000 (0:00:00.040) 0:00:12.522 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [change default service http] ********************************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:59 Friday 22 July 2022 00:23:08 +0000 (0:00:00.020) 0:00:12.543 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:08 +0000 (0:00:00.045) 0:00:12.588 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:08 +0000 (0:00:00.026) 0:00:12.615 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:23:09 +0000 (0:00:00.532) 0:00:13.148 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:23:10 +0000 (0:00:01.220) 0:00:14.368 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:23:10 +0000 (0:00:00.023) 0:00:14.391 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:11 +0000 (0:00:01.202) 0:00:15.594 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "25939968", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:12 +0000 (0:00:00.517) 0:00:16.111 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:23:12 +0000 (0:00:00.046) 0:00:16.158 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:23:12 +0000 (0:00:00.033) 0:00:16.192 *********** changed: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'description': 'linux system role test description', 'port': ['8080/tcp'], 'destination': ['1.1.1.1', '1::1'], 'permanent': True, 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "linux system role test description", "destination": [ "1.1.1.1", "1::1" ], "permanent": true, "port": [ "8080/tcp" ], "service": "http", "state": "present" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:23:13 +0000 (0:00:01.034) 0:00:17.226 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:13 +0000 (0:00:00.033) 0:00:17.260 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:23:13 +0000 (0:00:00.033) 0:00:17.293 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Fail when http is unchanged] ********************************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:73 Friday 22 July 2022 00:23:13 +0000 (0:00:00.040) 0:00:17.333 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [change default service http again] *************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:78 Friday 22 July 2022 00:23:13 +0000 (0:00:00.020) 0:00:17.354 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:13 +0000 (0:00:00.044) 0:00:17.399 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:13 +0000 (0:00:00.028) 0:00:17.428 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:23:13 +0000 (0:00:00.546) 0:00:17.975 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:23:15 +0000 (0:00:01.233) 0:00:19.208 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:23:15 +0000 (0:00:00.025) 0:00:19.233 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:16 +0000 (0:00:01.261) 0:00:20.495 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "27226112", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:16 +0000 (0:00:00.502) 0:00:20.997 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:23:16 +0000 (0:00:00.052) 0:00:21.049 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:23:17 +0000 (0:00:00.031) 0:00:21.081 *********** ok: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'description': 'linux system role test description', 'port': ['8080/tcp'], 'destination': ['1.1.1.1', '1::1'], 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "linux system role test description", "destination": [ "1.1.1.1", "1::1" ], "permanent": true, "port": [ "8080/tcp" ], "service": "http", "state": "present" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:23:17 +0000 (0:00:00.589) 0:00:21.670 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:17 +0000 (0:00:00.034) 0:00:21.704 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:23:17 +0000 (0:00:00.032) 0:00:21.737 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Fail when http changes affect permanent configuration] ******************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:92 Friday 22 July 2022 00:23:17 +0000 (0:00:00.039) 0:00:21.777 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add custom service] ****************************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:101 Friday 22 July 2022 00:23:17 +0000 (0:00:00.020) 0:00:21.798 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:17 +0000 (0:00:00.053) 0:00:21.851 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:17 +0000 (0:00:00.028) 0:00:21.880 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:23:18 +0000 (0:00:00.518) 0:00:22.399 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:23:19 +0000 (0:00:01.227) 0:00:23.626 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:23:19 +0000 (0:00:00.025) 0:00:23.651 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:20 +0000 (0:00:01.344) 0:00:24.996 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "27262976", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:21 +0000 (0:00:00.530) 0:00:25.526 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:23:21 +0000 (0:00:00.048) 0:00:25.575 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:23:21 +0000 (0:00:00.033) 0:00:25.608 *********** changed: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'short': 'Test service (Ansible)', 'description': 'This should only be available when firewalld is being configured by the firewall linux system role', 'port': ['9999/udp'], 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "This should only be available when firewalld is being configured by the firewall linux system role", "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permanent": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "short": "Test service (Ansible)", "source_port": [ "10000/udp" ], "state": "present" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:23:22 +0000 (0:00:01.107) 0:00:26.715 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:22 +0000 (0:00:00.032) 0:00:26.747 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:23:22 +0000 (0:00:00.030) 0:00:26.778 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [get all services] ******************************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:124 Friday 22 July 2022 00:23:22 +0000 (0:00:00.036) 0:00:26.815 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.257250", "end": "2022-07-21 20:23:22.701391", "rc": 0, "start": "2022-07-21 20:23:22.444141" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bb bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc bittorrent-lsd ceph ceph-mon cfengine cockpit collectd condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns dns-over-tls docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger foreman foreman-proxy freeipa-4 freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp galera ganglia-client ganglia-master git grafana gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kdeconnect kerberos kibana klogin kpasswd kprop kshell kube-apiserver ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns memcache minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nbd nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy prometheus proxy-dhcp ptp pulseaudio puppetmaster quassel radius rdp redis redis-sentinel rpc-bind rquotad rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync spotify-sync squid ssdp ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls systemroletest telnet tentacle tftp tftp-client tile38 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 TASK [Fail if systemrole test not created] ************************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:128 Friday 22 July 2022 00:23:23 +0000 (0:00:00.627) 0:00:27.443 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail when custom service not changed] ************************************ task path: /tmp/tmpa46hewky/tests/tests_service.yml:133 Friday 22 July 2022 00:23:23 +0000 (0:00:00.022) 0:00:27.466 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add same custom service again] ******************************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:140 Friday 22 July 2022 00:23:23 +0000 (0:00:00.021) 0:00:27.488 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:23 +0000 (0:00:00.052) 0:00:27.540 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:23 +0000 (0:00:00.027) 0:00:27.567 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:23:24 +0000 (0:00:00.519) 0:00:28.087 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:23:25 +0000 (0:00:01.340) 0:00:29.427 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:23:25 +0000 (0:00:00.025) 0:00:29.453 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:26 +0000 (0:00:01.233) 0:00:30.687 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "27619328", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:27 +0000 (0:00:00.509) 0:00:31.196 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:23:27 +0000 (0:00:00.053) 0:00:31.250 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:23:27 +0000 (0:00:00.038) 0:00:31.289 *********** ok: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'short': 'Test service (Ansible)', 'description': 'This should only be available when firewalld is being configured by the firewall linux system role', 'port': '9999/udp', 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "This should only be available when firewalld is being configured by the firewall linux system role", "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permanent": true, "port": "9999/udp", "protocol": "icmp", "service": "systemroletest", "short": "Test service (Ansible)", "source_port": [ "10000/udp" ], "state": "present" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:23:27 +0000 (0:00:00.593) 0:00:31.882 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:27 +0000 (0:00:00.031) 0:00:31.914 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:23:27 +0000 (0:00:00.030) 0:00:31.945 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Fail when custom service changed] **************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:161 Friday 22 July 2022 00:23:27 +0000 (0:00:00.041) 0:00:31.986 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Query if default zone has custom service added] ************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:168 Friday 22 July 2022 00:23:27 +0000 (0:00:00.020) 0:00:32.006 *********** fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": true, "cmd": [ "firewall-cmd", "--query-service", "systemroletest" ], "delta": "0:00:00.246272", "end": "2022-07-21 20:23:27.890472", "rc": 1, "start": "2022-07-21 20:23:27.644200" } STDOUT: no MSG: non-zero return code ...ignoring TASK [Fail if query return code incorrect] ************************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:173 Friday 22 July 2022 00:23:28 +0000 (0:00:00.622) 0:00:32.629 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail if custom service in default zone] ********************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:178 Friday 22 July 2022 00:23:28 +0000 (0:00:00.022) 0:00:32.652 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add custom service to default zone] ************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:187 Friday 22 July 2022 00:23:28 +0000 (0:00:00.021) 0:00:32.674 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:28 +0000 (0:00:00.064) 0:00:32.738 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:28 +0000 (0:00:00.028) 0:00:32.767 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:23:29 +0000 (0:00:00.513) 0:00:33.281 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:23:30 +0000 (0:00:01.213) 0:00:34.494 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:23:30 +0000 (0:00:00.026) 0:00:34.521 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:31 +0000 (0:00:01.216) 0:00:35.738 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "27590656", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:32 +0000 (0:00:00.529) 0:00:36.268 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:23:32 +0000 (0:00:00.087) 0:00:36.355 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:23:32 +0000 (0:00:00.034) 0:00:36.389 *********** changed: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "systemroletest", "state": "enabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:23:32 +0000 (0:00:00.583) 0:00:36.973 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:32 +0000 (0:00:00.035) 0:00:37.009 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:23:32 +0000 (0:00:00.032) 0:00:37.041 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Query if service has been added to default zone] ************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:197 Friday 22 July 2022 00:23:33 +0000 (0:00:00.043) 0:00:37.085 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--query-service", "systemroletest" ], "delta": "0:00:00.266592", "end": "2022-07-21 20:23:32.980898", "rc": 0, "start": "2022-07-21 20:23:32.714306" } STDOUT: yes TASK [Fail if service not added to default zone] ******************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:201 Friday 22 July 2022 00:23:33 +0000 (0:00:00.637) 0:00:37.723 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service from default zone] ********************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:208 Friday 22 July 2022 00:23:33 +0000 (0:00:00.022) 0:00:37.745 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:33 +0000 (0:00:00.070) 0:00:37.815 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:33 +0000 (0:00:00.028) 0:00:37.843 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:23:34 +0000 (0:00:00.559) 0:00:38.402 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:23:35 +0000 (0:00:01.227) 0:00:39.630 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:23:35 +0000 (0:00:00.024) 0:00:39.654 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:36 +0000 (0:00:01.238) 0:00:40.892 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "27590656", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:37 +0000 (0:00:00.525) 0:00:41.417 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:23:37 +0000 (0:00:00.048) 0:00:41.466 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:23:37 +0000 (0:00:00.033) 0:00:41.500 *********** changed: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "systemroletest", "state": "disabled" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:23:38 +0000 (0:00:00.590) 0:00:42.090 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:38 +0000 (0:00:00.039) 0:00:42.130 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:23:38 +0000 (0:00:00.035) 0:00:42.165 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Remove custom service elements] ****************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:218 Friday 22 July 2022 00:23:38 +0000 (0:00:00.040) 0:00:42.206 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:38 +0000 (0:00:00.073) 0:00:42.279 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:38 +0000 (0:00:00.028) 0:00:42.308 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:23:38 +0000 (0:00:00.513) 0:00:42.822 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:23:40 +0000 (0:00:01.250) 0:00:44.073 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:23:40 +0000 (0:00:00.026) 0:00:44.100 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:41 +0000 (0:00:01.270) 0:00:45.370 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "27590656", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:41 +0000 (0:00:00.502) 0:00:45.872 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:23:41 +0000 (0:00:00.081) 0:00:45.954 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:23:41 +0000 (0:00:00.032) 0:00:45.986 *********** changed: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'port': ['9999/udp'], 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permament': True, 'state': 'absent'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permament": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "source_port": [ "10000/udp" ], "state": "absent" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:23:42 +0000 (0:00:01.071) 0:00:47.058 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:43 +0000 (0:00:00.032) 0:00:47.091 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:23:43 +0000 (0:00:00.035) 0:00:47.127 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [fail if custom service elements unchanged] ******************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:236 Friday 22 July 2022 00:23:43 +0000 (0:00:00.041) 0:00:47.169 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service elements again] ************************************ task path: /tmp/tmpa46hewky/tests/tests_service.yml:241 Friday 22 July 2022 00:23:43 +0000 (0:00:00.023) 0:00:47.192 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:43 +0000 (0:00:00.070) 0:00:47.263 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:43 +0000 (0:00:00.068) 0:00:47.331 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:23:43 +0000 (0:00:00.514) 0:00:47.846 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:23:45 +0000 (0:00:01.258) 0:00:49.104 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:23:45 +0000 (0:00:00.024) 0:00:49.129 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:46 +0000 (0:00:01.251) 0:00:50.381 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "27660288", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:46 +0000 (0:00:00.507) 0:00:50.889 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:23:46 +0000 (0:00:00.049) 0:00:50.939 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:23:46 +0000 (0:00:00.033) 0:00:50.972 *********** ok: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'port': ['9999/udp'], 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permament': True, 'state': 'absent'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permament": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "source_port": [ "10000/udp" ], "state": "absent" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:23:47 +0000 (0:00:00.601) 0:00:51.573 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:47 +0000 (0:00:00.033) 0:00:51.606 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:23:47 +0000 (0:00:00.030) 0:00:51.637 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [fail if custom service elements changed] ********************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:257 Friday 22 July 2022 00:23:47 +0000 (0:00:00.037) 0:00:51.674 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get all services] ******************************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:262 Friday 22 July 2022 00:23:47 +0000 (0:00:00.021) 0:00:51.695 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.246160", "end": "2022-07-21 20:23:47.568593", "rc": 0, "start": "2022-07-21 20:23:47.322433" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bb bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc bittorrent-lsd ceph ceph-mon cfengine cockpit collectd condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns dns-over-tls docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger foreman foreman-proxy freeipa-4 freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp galera ganglia-client ganglia-master git grafana gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kdeconnect kerberos kibana klogin kpasswd kprop kshell kube-apiserver ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns memcache minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nbd nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy prometheus proxy-dhcp ptp pulseaudio puppetmaster quassel radius rdp redis redis-sentinel rpc-bind rquotad rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync spotify-sync squid ssdp ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls systemroletest telnet tentacle tftp tftp-client tile38 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 TASK [Fail if systemroletest removed] ****************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:266 Friday 22 July 2022 00:23:48 +0000 (0:00:00.613) 0:00:52.309 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [remove custom service] *************************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:275 Friday 22 July 2022 00:23:48 +0000 (0:00:00.023) 0:00:52.332 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:48 +0000 (0:00:00.079) 0:00:52.412 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:48 +0000 (0:00:00.028) 0:00:52.440 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:23:48 +0000 (0:00:00.501) 0:00:52.941 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:23:50 +0000 (0:00:01.184) 0:00:54.126 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:23:50 +0000 (0:00:00.023) 0:00:54.150 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:51 +0000 (0:00:01.207) 0:00:55.357 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "27676672", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:51 +0000 (0:00:00.540) 0:00:55.898 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:23:51 +0000 (0:00:00.122) 0:00:56.020 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:23:51 +0000 (0:00:00.035) 0:00:56.056 *********** changed: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'permament': True, 'state': 'absent'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permament": true, "service": "systemroletest", "state": "absent" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:23:53 +0000 (0:00:01.046) 0:00:57.103 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:53 +0000 (0:00:00.033) 0:00:57.136 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:23:53 +0000 (0:00:00.031) 0:00:57.167 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [get all services] ******************************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:284 Friday 22 July 2022 00:23:53 +0000 (0:00:00.038) 0:00:57.206 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.257439", "end": "2022-07-21 20:23:53.132638", "rc": 0, "start": "2022-07-21 20:23:52.875199" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bb bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc bittorrent-lsd ceph ceph-mon cfengine cockpit collectd condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns dns-over-tls docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger foreman foreman-proxy freeipa-4 freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp galera ganglia-client ganglia-master git grafana gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kdeconnect kerberos kibana klogin kpasswd kprop kshell kube-apiserver ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns memcache minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nbd nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy prometheus proxy-dhcp ptp pulseaudio puppetmaster quassel radius rdp redis redis-sentinel rpc-bind rquotad rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync spotify-sync squid ssdp ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls telnet tentacle tftp tftp-client tile38 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 TASK [Fail when custom service not removed] ************************************ task path: /tmp/tmpa46hewky/tests/tests_service.yml:288 Friday 22 July 2022 00:23:53 +0000 (0:00:00.666) 0:00:57.872 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [remove custom service again] ********************************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:293 Friday 22 July 2022 00:23:53 +0000 (0:00:00.023) 0:00:57.896 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:53 +0000 (0:00:00.119) 0:00:58.015 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:53 +0000 (0:00:00.028) 0:00:58.044 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:23:54 +0000 (0:00:00.519) 0:00:58.563 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:23:55 +0000 (0:00:01.237) 0:00:59.801 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:23:55 +0000 (0:00:00.026) 0:00:59.827 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:23:56 +0000 (0:00:01.211) 0:01:01.039 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "27832320", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:23:57 +0000 (0:00:00.501) 0:01:01.540 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:23:57 +0000 (0:00:00.046) 0:01:01.587 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:23:57 +0000 (0:00:00.031) 0:01:01.619 *********** ok: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'permament': True, 'state': 'absent'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permament": true, "service": "systemroletest", "state": "absent" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:23:58 +0000 (0:00:00.586) 0:01:02.205 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:23:58 +0000 (0:00:00.035) 0:01:02.240 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:23:58 +0000 (0:00:00.033) 0:01:02.273 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Fail if second removal changes anything] ********************************* task path: /tmp/tmpa46hewky/tests/tests_service.yml:302 Friday 22 July 2022 00:23:58 +0000 (0:00:00.040) 0:01:02.314 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/tmpa46hewky/tests/tests_service.yml:308 Friday 22 July 2022 00:23:58 +0000 (0:00:00.021) 0:01:02.335 *********** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Friday 22 July 2022 00:23:58 +0000 (0:00:00.086) 0:01:02.422 *********** included: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:23:58 +0000 (0:00:00.030) 0:01:02.452 *********** ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Friday 22 July 2022 00:23:58 +0000 (0:00:00.526) 0:01:02.978 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Friday 22 July 2022 00:24:00 +0000 (0:00:01.204) 0:01:04.183 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Friday 22 July 2022 00:24:00 +0000 (0:00:00.024) 0:01:04.207 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Friday 22 July 2022 00:24:01 +0000 (0:00:01.373) 0:01:05.581 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ActiveEnterTimestampMonotonic": "206100091", "ActiveExitTimestamp": "Thu 2022-07-21 20:22:53 EDT", "ActiveExitTimestampMonotonic": "205422720", "ActiveState": "active", "After": "polkit.service dbus.socket dbus.service sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:22:54 EDT", "AssertTimestampMonotonic": "205862986", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ConditionTimestampMonotonic": "205862986", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service ipset.service ip6tables.service ebtables.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37752", "ExecMainStartTimestamp": "Thu 2022-07-21 20:22:54 EDT", "ExecMainStartTimestampMonotonic": "205864086", "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=[Thu 2022-07-21 20:22:54 EDT] ; stop_time=[n/a] ; pid=37752 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveEnterTimestampMonotonic": "205861867", "InactiveExitTimestamp": "Thu 2022-07-21 20:22:54 EDT", "InactiveExitTimestampMonotonic": "205864117", "InvocationID": "b6dc548fa5344eb4a475fac858d00b52", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37752", "MemoryAccounting": "yes", "MemoryCurrent": "27832320", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:22:54 EDT", "StateChangeTimestampMonotonic": "206100091", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:22:54 EDT", "WatchdogTimestampMonotonic": "206100089", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Friday 22 July 2022 00:24:02 +0000 (0:00:00.524) 0:01:06.106 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Friday 22 July 2022 00:24:02 +0000 (0:00:00.052) 0:01:06.158 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Friday 22 July 2022 00:24:02 +0000 (0:00:00.035) 0:01:06.193 *********** TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Friday 22 July 2022 00:24:02 +0000 (0:00:00.034) 0:01:06.228 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Friday 22 July 2022 00:24:02 +0000 (0:00:00.031) 0:01:06.259 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Friday 22 July 2022 00:24:02 +0000 (0:00:00.031) 0:01:06.291 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=100 changed=12 unreachable=0 failed=0 skipped=80 rescued=0 ignored=1 Friday 22 July 2022 00:24:02 +0000 (0:00:00.050) 0:01:06.342 *********** =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 1.70s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 1.67s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 1.63s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 1.62s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Install firewalld ------------------------- 1.40s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.37s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.34s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.34s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.31s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 set up internal repositories -------------------------------------------- 1.30s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.27s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.26s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.26s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.25s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.25s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.24s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.24s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.23s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.23s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.23s /tmp/tmpa46hewky/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpx2we9fjr executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Friday 22 July 2022 00:28:25 +0000 (0:00:00.018) 0:00:00.018 *********** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Friday 22 July 2022 00:28:26 +0000 (0:00:01.298) 0:00:01.316 *********** =============================================================================== set up internal repositories -------------------------------------------- 1.30s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_service.yml **************************************************** 1 plays in /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml PLAY [Test firewall user defined services] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:1 Friday 22 July 2022 00:28:26 +0000 (0:00:00.041) 0:00:01.358 *********** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Start from clean slate] ************************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:10 Friday 22 July 2022 00:28:27 +0000 (0:00:01.024) 0:00:02.382 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:28:27 +0000 (0:00:00.043) 0:00:02.425 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:28:27 +0000 (0:00:00.030) 0:00:02.456 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:28:28 +0000 (0:00:00.518) 0:00:02.974 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:28:29 +0000 (0:00:01.467) 0:00:04.442 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:28:29 +0000 (0:00:00.025) 0:00:04.468 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:28:30 +0000 (0:00:01.204) 0:00:05.673 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "25116672", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:28:31 +0000 (0:00:00.757) 0:00:06.430 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:28:31 +0000 (0:00:00.050) 0:00:06.481 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:28:31 +0000 (0:00:00.247) 0:00:06.729 *********** TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:28:31 +0000 (0:00:00.040) 0:00:06.769 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:28:32 +0000 (0:00:00.258) 0:00:07.028 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:28:32 +0000 (0:00:00.055) 0:00:07.083 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [get all services] ******************************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:19 Friday 22 July 2022 00:28:32 +0000 (0:00:00.046) 0:00:07.129 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.264691", "end": "2022-07-21 20:28:32.287886", "rc": 0, "start": "2022-07-21 20:28:32.023195" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bb bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc bittorrent-lsd ceph ceph-mon cfengine cockpit collectd condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns dns-over-tls docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger foreman foreman-proxy freeipa-4 freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp galera ganglia-client ganglia-master git grafana gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kdeconnect kerberos kibana klogin kpasswd kprop kshell kube-apiserver ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns memcache minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nbd nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy prometheus proxy-dhcp ptp pulseaudio puppetmaster quassel radius rdp redis redis-sentinel rpc-bind rquotad rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync spotify-sync squid ssdp ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls telnet tentacle tftp tftp-client tile38 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 TASK [Fail if http not present after reset] ************************************ task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:23 Friday 22 July 2022 00:28:33 +0000 (0:00:00.758) 0:00:07.888 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail if systemroletest present prior to test run] ************************ task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:30 Friday 22 July 2022 00:28:33 +0000 (0:00:00.032) 0:00:07.921 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ensure http has default configuration] *********************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:35 Friday 22 July 2022 00:28:33 +0000 (0:00:00.022) 0:00:07.943 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:28:33 +0000 (0:00:00.046) 0:00:07.989 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:28:33 +0000 (0:00:00.030) 0:00:08.020 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:28:33 +0000 (0:00:00.550) 0:00:08.570 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:28:35 +0000 (0:00:01.276) 0:00:09.846 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:28:35 +0000 (0:00:00.025) 0:00:09.872 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:28:36 +0000 (0:00:01.279) 0:00:11.151 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "25993216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:28:36 +0000 (0:00:00.497) 0:00:11.649 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:28:36 +0000 (0:00:00.050) 0:00:11.699 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:28:36 +0000 (0:00:00.037) 0:00:11.736 *********** ok: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'short': 'WWW (HTTP)', 'description': 'HTTP is the protocol used to serve Web pages. If you plan to make your Web server publicly available, enable this option. This option is not required for viewing pages locally or developing Web pages.', 'port': ['80/tcp'], 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "HTTP is the protocol used to serve Web pages. If you plan to make your Web server publicly available, enable this option. This option is not required for viewing pages locally or developing Web pages.", "permanent": true, "port": [ "80/tcp" ], "service": "http", "short": "WWW (HTTP)", "state": "present" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:28:37 +0000 (0:00:00.769) 0:00:12.506 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:28:37 +0000 (0:00:00.033) 0:00:12.539 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:28:37 +0000 (0:00:00.031) 0:00:12.570 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Fail if service changed] ************************************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:52 Friday 22 July 2022 00:28:37 +0000 (0:00:00.038) 0:00:12.608 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [change default service http] ********************************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:59 Friday 22 July 2022 00:28:37 +0000 (0:00:00.018) 0:00:12.627 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:28:37 +0000 (0:00:00.047) 0:00:12.674 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:28:37 +0000 (0:00:00.027) 0:00:12.702 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:28:38 +0000 (0:00:00.526) 0:00:13.228 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:28:39 +0000 (0:00:01.336) 0:00:14.564 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:28:39 +0000 (0:00:00.024) 0:00:14.588 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:28:41 +0000 (0:00:01.237) 0:00:15.826 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "25993216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:28:41 +0000 (0:00:00.511) 0:00:16.338 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:28:41 +0000 (0:00:00.053) 0:00:16.391 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:28:41 +0000 (0:00:00.036) 0:00:16.428 *********** changed: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'description': 'linux system role test description', 'port': ['8080/tcp'], 'destination': ['1.1.1.1', '1::1'], 'permanent': True, 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "linux system role test description", "destination": [ "1.1.1.1", "1::1" ], "permanent": true, "port": [ "8080/tcp" ], "service": "http", "state": "present" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:28:42 +0000 (0:00:01.053) 0:00:17.482 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:28:42 +0000 (0:00:00.031) 0:00:17.513 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:28:42 +0000 (0:00:00.031) 0:00:17.545 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Fail when http is unchanged] ********************************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:73 Friday 22 July 2022 00:28:42 +0000 (0:00:00.039) 0:00:17.584 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [change default service http again] *************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:78 Friday 22 July 2022 00:28:42 +0000 (0:00:00.021) 0:00:17.605 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:28:42 +0000 (0:00:00.046) 0:00:17.652 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:28:42 +0000 (0:00:00.028) 0:00:17.680 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:28:43 +0000 (0:00:00.536) 0:00:18.217 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:28:44 +0000 (0:00:01.245) 0:00:19.463 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:28:44 +0000 (0:00:00.024) 0:00:19.488 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:28:45 +0000 (0:00:01.253) 0:00:20.741 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "29368320", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:28:46 +0000 (0:00:00.540) 0:00:21.281 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:28:46 +0000 (0:00:00.087) 0:00:21.368 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:28:46 +0000 (0:00:00.033) 0:00:21.401 *********** ok: [/cache/rhel-8.qcow2] => (item={'service': 'http', 'description': 'linux system role test description', 'port': ['8080/tcp'], 'destination': ['1.1.1.1', '1::1'], 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "linux system role test description", "destination": [ "1.1.1.1", "1::1" ], "permanent": true, "port": [ "8080/tcp" ], "service": "http", "state": "present" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:28:47 +0000 (0:00:00.606) 0:00:22.008 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:28:47 +0000 (0:00:00.074) 0:00:22.082 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:28:47 +0000 (0:00:00.035) 0:00:22.118 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Fail when http changes affect permanent configuration] ******************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:92 Friday 22 July 2022 00:28:47 +0000 (0:00:00.040) 0:00:22.158 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add custom service] ****************************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:101 Friday 22 July 2022 00:28:47 +0000 (0:00:00.021) 0:00:22.180 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:28:47 +0000 (0:00:00.089) 0:00:22.270 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:28:47 +0000 (0:00:00.029) 0:00:22.300 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:28:48 +0000 (0:00:00.529) 0:00:22.829 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:28:49 +0000 (0:00:01.270) 0:00:24.100 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:28:49 +0000 (0:00:00.024) 0:00:24.124 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:28:50 +0000 (0:00:01.225) 0:00:25.350 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "29417472", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:28:51 +0000 (0:00:00.507) 0:00:25.857 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:28:51 +0000 (0:00:00.050) 0:00:25.907 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:28:51 +0000 (0:00:00.033) 0:00:25.941 *********** changed: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'short': 'Test service (Ansible)', 'description': 'This should only be available when firewalld is being configured by the firewall linux system role', 'port': ['9999/udp'], 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "description": "This should only be available when firewalld is being configured by the firewall linux system role", "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permanent": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "short": "Test service (Ansible)", "source_port": [ "10000/udp" ], "state": "present" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:28:52 +0000 (0:00:01.096) 0:00:27.037 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:28:52 +0000 (0:00:00.032) 0:00:27.069 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:28:52 +0000 (0:00:00.032) 0:00:27.101 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [get all services] ******************************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:124 Friday 22 July 2022 00:28:52 +0000 (0:00:00.039) 0:00:27.141 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.246037", "end": "2022-07-21 20:28:52.161243", "rc": 0, "start": "2022-07-21 20:28:51.915206" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bb bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc bittorrent-lsd ceph ceph-mon cfengine cockpit collectd condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns dns-over-tls docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger foreman foreman-proxy freeipa-4 freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp galera ganglia-client ganglia-master git grafana gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kdeconnect kerberos kibana klogin kpasswd kprop kshell kube-apiserver ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns memcache minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nbd nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy prometheus proxy-dhcp ptp pulseaudio puppetmaster quassel radius rdp redis redis-sentinel rpc-bind rquotad rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync spotify-sync squid ssdp ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls systemroletest telnet tentacle tftp tftp-client tile38 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 TASK [Fail if systemrole test not created] ************************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:128 Friday 22 July 2022 00:28:52 +0000 (0:00:00.622) 0:00:27.763 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail when custom service not changed] ************************************ task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:133 Friday 22 July 2022 00:28:53 +0000 (0:00:00.021) 0:00:27.785 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add same custom service again] ******************************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:140 Friday 22 July 2022 00:28:53 +0000 (0:00:00.021) 0:00:27.806 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:28:53 +0000 (0:00:00.053) 0:00:27.860 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:28:53 +0000 (0:00:00.030) 0:00:27.891 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:28:53 +0000 (0:00:00.493) 0:00:28.384 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:28:54 +0000 (0:00:01.214) 0:00:29.599 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:28:54 +0000 (0:00:00.025) 0:00:29.625 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:28:56 +0000 (0:00:01.200) 0:00:30.825 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "29786112", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:28:56 +0000 (0:00:00.496) 0:00:31.322 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:28:56 +0000 (0:00:00.057) 0:00:31.380 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:28:56 +0000 (0:00:00.036) 0:00:31.416 *********** ok: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'short': 'Test service (Ansible)', 'description': 'This should only be available when firewalld is being configured by the firewall linux system role', 'port': '9999/udp', 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permanent': True, 'state': 'present'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "description": "This should only be available when firewalld is being configured by the firewall linux system role", "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permanent": true, "port": "9999/udp", "protocol": "icmp", "service": "systemroletest", "short": "Test service (Ansible)", "source_port": [ "10000/udp" ], "state": "present" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:28:57 +0000 (0:00:00.657) 0:00:32.073 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:28:57 +0000 (0:00:00.034) 0:00:32.108 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:28:57 +0000 (0:00:00.033) 0:00:32.142 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Fail when custom service changed] **************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:161 Friday 22 July 2022 00:28:57 +0000 (0:00:00.039) 0:00:32.181 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Query if default zone has custom service added] ************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:168 Friday 22 July 2022 00:28:57 +0000 (0:00:00.021) 0:00:32.203 *********** fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": true, "cmd": [ "firewall-cmd", "--query-service", "systemroletest" ], "delta": "0:00:00.249559", "end": "2022-07-21 20:28:57.218176", "rc": 1, "start": "2022-07-21 20:28:56.968617" } STDOUT: no MSG: non-zero return code ...ignoring TASK [Fail if query return code incorrect] ************************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:173 Friday 22 July 2022 00:28:58 +0000 (0:00:00.619) 0:00:32.823 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail if custom service in default zone] ********************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:178 Friday 22 July 2022 00:28:58 +0000 (0:00:00.021) 0:00:32.844 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add custom service to default zone] ************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:187 Friday 22 July 2022 00:28:58 +0000 (0:00:00.021) 0:00:32.865 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:28:58 +0000 (0:00:00.065) 0:00:32.930 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:28:58 +0000 (0:00:00.071) 0:00:33.002 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:28:58 +0000 (0:00:00.523) 0:00:33.526 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:28:59 +0000 (0:00:01.241) 0:00:34.767 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:29:00 +0000 (0:00:00.025) 0:00:34.792 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:29:01 +0000 (0:00:01.268) 0:00:36.061 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "29757440", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:29:01 +0000 (0:00:00.542) 0:00:36.603 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:29:01 +0000 (0:00:00.050) 0:00:36.654 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:29:01 +0000 (0:00:00.032) 0:00:36.687 *********** changed: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "systemroletest", "state": "enabled" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:29:02 +0000 (0:00:00.601) 0:00:37.288 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:29:02 +0000 (0:00:00.034) 0:00:37.323 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:29:02 +0000 (0:00:00.033) 0:00:37.357 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Query if service has been added to default zone] ************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:197 Friday 22 July 2022 00:29:02 +0000 (0:00:00.040) 0:00:37.397 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--query-service", "systemroletest" ], "delta": "0:00:00.249662", "end": "2022-07-21 20:29:02.412192", "rc": 0, "start": "2022-07-21 20:29:02.162530" } STDOUT: yes TASK [Fail if service not added to default zone] ******************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:201 Friday 22 July 2022 00:29:03 +0000 (0:00:00.617) 0:00:38.014 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service from default zone] ********************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:208 Friday 22 July 2022 00:29:03 +0000 (0:00:00.020) 0:00:38.035 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:29:03 +0000 (0:00:00.070) 0:00:38.105 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:29:03 +0000 (0:00:00.030) 0:00:38.135 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:29:03 +0000 (0:00:00.519) 0:00:38.654 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:29:05 +0000 (0:00:01.252) 0:00:39.907 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:29:05 +0000 (0:00:00.025) 0:00:39.932 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:29:06 +0000 (0:00:01.201) 0:00:41.133 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "29769728", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:29:06 +0000 (0:00:00.488) 0:00:41.622 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:29:06 +0000 (0:00:00.083) 0:00:41.706 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:29:06 +0000 (0:00:00.037) 0:00:41.743 *********** changed: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "service": "systemroletest", "state": "disabled" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:29:07 +0000 (0:00:00.602) 0:00:42.345 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:29:07 +0000 (0:00:00.031) 0:00:42.377 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:29:07 +0000 (0:00:00.031) 0:00:42.409 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Remove custom service elements] ****************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:218 Friday 22 July 2022 00:29:07 +0000 (0:00:00.038) 0:00:42.448 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:29:07 +0000 (0:00:00.102) 0:00:42.550 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:29:07 +0000 (0:00:00.029) 0:00:42.579 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:29:08 +0000 (0:00:00.525) 0:00:43.105 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:29:09 +0000 (0:00:01.213) 0:00:44.319 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:29:09 +0000 (0:00:00.024) 0:00:44.343 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:29:10 +0000 (0:00:01.245) 0:00:45.589 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "29769728", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:29:11 +0000 (0:00:00.504) 0:00:46.093 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:29:11 +0000 (0:00:00.050) 0:00:46.143 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:29:11 +0000 (0:00:00.034) 0:00:46.178 *********** changed: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'port': ['9999/udp'], 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permament': True, 'state': 'absent'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permament": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "source_port": [ "10000/udp" ], "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:29:12 +0000 (0:00:01.082) 0:00:47.260 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:29:12 +0000 (0:00:00.034) 0:00:47.295 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:29:12 +0000 (0:00:00.035) 0:00:47.331 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [fail if custom service elements unchanged] ******************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:236 Friday 22 July 2022 00:29:12 +0000 (0:00:00.038) 0:00:47.370 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service elements again] ************************************ task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:241 Friday 22 July 2022 00:29:12 +0000 (0:00:00.019) 0:00:47.389 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:29:12 +0000 (0:00:00.070) 0:00:47.460 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:29:12 +0000 (0:00:00.030) 0:00:47.490 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:29:13 +0000 (0:00:00.513) 0:00:48.004 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:29:14 +0000 (0:00:01.268) 0:00:49.273 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:29:14 +0000 (0:00:00.025) 0:00:49.298 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:29:15 +0000 (0:00:01.257) 0:00:50.556 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "29806592", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:29:16 +0000 (0:00:00.526) 0:00:51.082 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:29:16 +0000 (0:00:00.100) 0:00:51.183 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:29:16 +0000 (0:00:00.031) 0:00:51.214 *********** ok: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'port': ['9999/udp'], 'source_port': ['10000/udp'], 'destination': ['1.1.1.1', '1::1'], 'helper_module': 'ftp', 'protocol': 'icmp', 'permament': True, 'state': 'absent'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "destination": [ "1.1.1.1", "1::1" ], "helper_module": "ftp", "permament": true, "port": [ "9999/udp" ], "protocol": "icmp", "service": "systemroletest", "source_port": [ "10000/udp" ], "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:29:17 +0000 (0:00:00.600) 0:00:51.815 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:29:17 +0000 (0:00:00.031) 0:00:51.847 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:29:17 +0000 (0:00:00.030) 0:00:51.877 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [fail if custom service elements changed] ********************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:257 Friday 22 July 2022 00:29:17 +0000 (0:00:00.042) 0:00:51.919 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get all services] ******************************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:262 Friday 22 July 2022 00:29:17 +0000 (0:00:00.020) 0:00:51.940 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.245622", "end": "2022-07-21 20:29:16.979864", "rc": 0, "start": "2022-07-21 20:29:16.734242" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bb bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc bittorrent-lsd ceph ceph-mon cfengine cockpit collectd condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns dns-over-tls docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger foreman foreman-proxy freeipa-4 freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp galera ganglia-client ganglia-master git grafana gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kdeconnect kerberos kibana klogin kpasswd kprop kshell kube-apiserver ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns memcache minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nbd nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy prometheus proxy-dhcp ptp pulseaudio puppetmaster quassel radius rdp redis redis-sentinel rpc-bind rquotad rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync spotify-sync squid ssdp ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls systemroletest telnet tentacle tftp tftp-client tile38 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 TASK [Fail if systemroletest removed] ****************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:266 Friday 22 July 2022 00:29:17 +0000 (0:00:00.641) 0:00:52.581 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [remove custom service] *************************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:275 Friday 22 July 2022 00:29:17 +0000 (0:00:00.020) 0:00:52.602 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:29:17 +0000 (0:00:00.116) 0:00:52.719 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:29:17 +0000 (0:00:00.030) 0:00:52.749 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:29:18 +0000 (0:00:00.526) 0:00:53.276 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:29:19 +0000 (0:00:01.315) 0:00:54.592 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:29:19 +0000 (0:00:00.026) 0:00:54.618 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:29:21 +0000 (0:00:01.221) 0:00:55.840 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "29806592", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:29:21 +0000 (0:00:00.503) 0:00:56.343 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:29:21 +0000 (0:00:00.061) 0:00:56.405 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:29:21 +0000 (0:00:00.035) 0:00:56.441 *********** changed: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'permament': True, 'state': 'absent'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permament": true, "service": "systemroletest", "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:29:22 +0000 (0:00:01.053) 0:00:57.495 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:29:22 +0000 (0:00:00.031) 0:00:57.526 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:29:22 +0000 (0:00:00.030) 0:00:57.557 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [get all services] ******************************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:284 Friday 22 July 2022 00:29:22 +0000 (0:00:00.046) 0:00:57.603 *********** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.263407", "end": "2022-07-21 20:29:22.646386", "rc": 0, "start": "2022-07-21 20:29:22.382979" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bb bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc bittorrent-lsd ceph ceph-mon cfengine cockpit collectd condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns dns-over-tls docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger foreman foreman-proxy freeipa-4 freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp galera ganglia-client ganglia-master git grafana gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kdeconnect kerberos kibana klogin kpasswd kprop kshell kube-apiserver ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns memcache minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nbd nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy prometheus proxy-dhcp ptp pulseaudio puppetmaster quassel radius rdp redis redis-sentinel rpc-bind rquotad rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync spotify-sync squid ssdp ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls telnet tentacle tftp tftp-client tile38 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 TASK [Fail when custom service not removed] ************************************ task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:288 Friday 22 July 2022 00:29:23 +0000 (0:00:00.646) 0:00:58.250 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [remove custom service again] ********************************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:293 Friday 22 July 2022 00:29:23 +0000 (0:00:00.026) 0:00:58.276 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:29:23 +0000 (0:00:00.083) 0:00:58.359 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:29:23 +0000 (0:00:00.030) 0:00:58.390 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:29:24 +0000 (0:00:00.565) 0:00:58.955 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:29:25 +0000 (0:00:01.349) 0:01:00.305 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:29:25 +0000 (0:00:00.028) 0:01:00.333 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:29:26 +0000 (0:00:01.325) 0:01:01.659 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "29868032", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:29:27 +0000 (0:00:00.516) 0:01:02.175 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:29:27 +0000 (0:00:00.119) 0:01:02.295 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:29:27 +0000 (0:00:00.034) 0:01:02.330 *********** ok: [/cache/rhel-8.qcow2] => (item={'service': 'systemroletest', 'permament': True, 'state': 'absent'}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permament": true, "service": "systemroletest", "state": "absent" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:29:28 +0000 (0:00:00.587) 0:01:02.917 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:29:28 +0000 (0:00:00.034) 0:01:02.952 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:29:28 +0000 (0:00:00.033) 0:01:02.986 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Fail if second removal changes anything] ********************************* task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:302 Friday 22 July 2022 00:29:28 +0000 (0:00:00.041) 0:01:03.027 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/tmpbqqyrfee/tests/firewall/tests_service.yml:308 Friday 22 July 2022 00:29:28 +0000 (0:00:00.021) 0:01:03.048 *********** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Friday 22 July 2022 00:29:28 +0000 (0:00:00.091) 0:01:03.140 *********** included: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 July 2022 00:29:28 +0000 (0:00:00.030) 0:01:03.170 *********** ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Friday 22 July 2022 00:29:28 +0000 (0:00:00.533) 0:01:03.703 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Friday 22 July 2022 00:29:30 +0000 (0:00:01.265) 0:01:04.969 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Friday 22 July 2022 00:29:30 +0000 (0:00:00.026) 0:01:04.996 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Friday 22 July 2022 00:29:31 +0000 (0:00:01.254) 0:01:06.250 *********** ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ActiveEnterTimestampMonotonic": "204320481", "ActiveExitTimestamp": "Thu 2022-07-21 20:28:22 EDT", "ActiveExitTimestampMonotonic": "203625666", "ActiveState": "active", "After": "system.slice basic.target polkit.service dbus.service sysinit.target dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-21 20:28:23 EDT", "AssertTimestampMonotonic": "204084609", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ConditionTimestampMonotonic": "204084609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service nftables.service iptables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "37751", "ExecMainStartTimestamp": "Thu 2022-07-21 20:28:23 EDT", "ExecMainStartTimestampMonotonic": "204085799", "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=[Thu 2022-07-21 20:28:23 EDT] ; stop_time=[n/a] ; pid=37751 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveEnterTimestampMonotonic": "204083461", "InactiveExitTimestamp": "Thu 2022-07-21 20:28:23 EDT", "InactiveExitTimestampMonotonic": "204085832", "InvocationID": "c9a0b7213ba24ac789a1f2fecc3d8ac2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "37751", "MemoryAccounting": "yes", "MemoryCurrent": "29921280", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-21 20:28:23 EDT", "StateChangeTimestampMonotonic": "204320481", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "11153", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-21 20:28:23 EDT", "WatchdogTimestampMonotonic": "204320479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 July 2022 00:29:31 +0000 (0:00:00.514) 0:01:06.764 *********** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Friday 22 July 2022 00:29:32 +0000 (0:00:00.050) 0:01:06.815 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Friday 22 July 2022 00:29:32 +0000 (0:00:00.031) 0:01:06.846 *********** TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 July 2022 00:29:32 +0000 (0:00:00.033) 0:01:06.879 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Friday 22 July 2022 00:29:32 +0000 (0:00:00.030) 0:01:06.910 *********** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Friday 22 July 2022 00:29:32 +0000 (0:00:00.033) 0:01:06.944 *********** skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=100 changed=12 unreachable=0 failed=0 skipped=80 rescued=0 ignored=1 Friday 22 July 2022 00:29:32 +0000 (0:00:00.048) 0:01:06.993 *********** =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.75s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.68s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.66s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.64s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.47s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.35s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.34s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.33s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.32s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 set up internal repositories -------------------------------------------- 1.30s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.28s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.28s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.27s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.27s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.27s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.27s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.26s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.25s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.25s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.25s /tmp/tmpx2we9fjr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7