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/tmpe2xtogrr 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: tests_service.yml **************************************************** 1 plays in /tmp/tmpaiuxunkc/tests/tests_service.yml PLAY [Test firewall user defined services] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:1 Thursday 23 June 2022 20:37:16 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Start from clean slate] ************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:10 Thursday 23 June 2022 20:37:17 +0000 (0:00:01.026) 0:00:01.040 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:17 +0000 (0:00:00.060) 0:00:01.100 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:17 +0000 (0:00:00.027) 0:00:01.128 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:18 +0000 (0:00:00.395) 0:00:01.524 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:18 +0000 (0:00:00.642) 0:00:02.166 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:19 +0000 (0:00:00.494) 0:00:02.660 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:19 +0000 (0:00:00.023) 0:00:02.683 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:19 +0000 (0:00:00.619) 0:00:03.303 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:20 +0000 (0:00:00.047) 0:00:03.350 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0 } STDOUT: /etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8) STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:20 +0000 (0:00:00.205) 0:00:03.555 ********* TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:20 +0000 (0:00:00.035) 0:00:03.590 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0 } STDOUT: /etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8) STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:20 +0000 (0:00:00.219) 0:00:03.810 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:20 +0000 (0:00:00.048) 0:00:03.858 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [get all services] ******************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:19 Thursday 23 June 2022 20:37:20 +0000 (0:00:00.041) 0:00:03.900 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.279243", "end": "2022-06-23 20:37:21.225639", "rc": 0, "start": "2022-06-23 20:37:20.946396" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls telnet tftp tftp-client 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/tmpaiuxunkc/tests/tests_service.yml:23 Thursday 23 June 2022 20:37:21 +0000 (0:00:00.691) 0:00:04.591 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail if systemroletest present prior to test run] ************************ task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:30 Thursday 23 June 2022 20:37:21 +0000 (0:00:00.033) 0:00:04.625 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ensure http has default configuration] *********************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:35 Thursday 23 June 2022 20:37:21 +0000 (0:00:00.022) 0:00:04.647 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:21 +0000 (0:00:00.041) 0:00:04.689 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:21 +0000 (0:00:00.036) 0:00:04.725 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:21 +0000 (0:00:00.412) 0:00:05.138 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:22 +0000 (0:00:00.531) 0:00:05.670 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:22 +0000 (0:00:00.516) 0:00:06.187 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:22 +0000 (0:00:00.026) 0:00:06.213 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:23 +0000 (0:00:00.391) 0:00:06.605 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:23 +0000 (0:00:00.083) 0:00:06.689 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:23 +0000 (0:00:00.036) 0:00:06.726 ********* ok: [/cache/centos-7.qcow2c.snap] => (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/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:24 +0000 (0:00:00.692) 0:00:07.418 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:24 +0000 (0:00:00.033) 0:00:07.452 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:24 +0000 (0:00:00.030) 0:00:07.483 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Fail if service changed] ************************************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:52 Thursday 23 June 2022 20:37:24 +0000 (0:00:00.040) 0:00:07.524 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [change default service http] ********************************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:59 Thursday 23 June 2022 20:37:24 +0000 (0:00:00.023) 0:00:07.547 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:24 +0000 (0:00:00.047) 0:00:07.595 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:24 +0000 (0:00:00.027) 0:00:07.623 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:24 +0000 (0:00:00.429) 0:00:08.052 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:25 +0000 (0:00:00.512) 0:00:08.564 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:25 +0000 (0:00:00.512) 0:00:09.077 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:25 +0000 (0:00:00.025) 0:00:09.102 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:26 +0000 (0:00:00.392) 0:00:09.495 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:26 +0000 (0:00:00.048) 0:00:09.543 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:26 +0000 (0:00:00.033) 0:00:09.577 ********* changed: [/cache/centos-7.qcow2c.snap] => (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/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:26 +0000 (0:00:00.735) 0:00:10.312 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:27 +0000 (0:00:00.036) 0:00:10.349 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:27 +0000 (0:00:00.033) 0:00:10.382 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Fail when http is unchanged] ********************************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:73 Thursday 23 June 2022 20:37:27 +0000 (0:00:00.039) 0:00:10.422 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [change default service http again] *************************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:78 Thursday 23 June 2022 20:37:27 +0000 (0:00:00.020) 0:00:10.443 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:27 +0000 (0:00:00.051) 0:00:10.495 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:27 +0000 (0:00:00.027) 0:00:10.522 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:27 +0000 (0:00:00.410) 0:00:10.932 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:28 +0000 (0:00:00.508) 0:00:11.441 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:28 +0000 (0:00:00.510) 0:00:11.951 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:28 +0000 (0:00:00.025) 0:00:11.977 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:29 +0000 (0:00:00.386) 0:00:12.363 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:29 +0000 (0:00:00.048) 0:00:12.412 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:29 +0000 (0:00:00.033) 0:00:12.445 ********* ok: [/cache/centos-7.qcow2c.snap] => (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/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:29 +0000 (0:00:00.541) 0:00:12.986 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:29 +0000 (0:00:00.032) 0:00:13.019 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:29 +0000 (0:00:00.032) 0:00:13.052 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Fail when http changes affect permanent configuration] ******************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:92 Thursday 23 June 2022 20:37:29 +0000 (0:00:00.038) 0:00:13.091 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add custom service] ****************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:101 Thursday 23 June 2022 20:37:29 +0000 (0:00:00.021) 0:00:13.112 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:29 +0000 (0:00:00.053) 0:00:13.165 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:29 +0000 (0:00:00.026) 0:00:13.192 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:30 +0000 (0:00:00.443) 0:00:13.635 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:30 +0000 (0:00:00.549) 0:00:14.185 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:31 +0000 (0:00:00.662) 0:00:14.847 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:31 +0000 (0:00:00.026) 0:00:14.874 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:31 +0000 (0:00:00.381) 0:00:15.255 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:31 +0000 (0:00:00.050) 0:00:15.305 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:32 +0000 (0:00:00.034) 0:00:15.340 ********* changed: [/cache/centos-7.qcow2c.snap] => (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/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:32 +0000 (0:00:00.790) 0:00:16.130 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:32 +0000 (0:00:00.032) 0:00:16.162 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:32 +0000 (0:00:00.033) 0:00:16.196 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [get all services] ******************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:124 Thursday 23 June 2022 20:37:32 +0000 (0:00:00.037) 0:00:16.234 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.254875", "end": "2022-06-23 20:37:33.414878", "rc": 0, "start": "2022-06-23 20:37:33.160003" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls systemroletest telnet tftp tftp-client 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/tmpaiuxunkc/tests/tests_service.yml:128 Thursday 23 June 2022 20:37:33 +0000 (0:00:00.547) 0:00:16.782 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail when custom service not changed] ************************************ task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:133 Thursday 23 June 2022 20:37:33 +0000 (0:00:00.020) 0:00:16.802 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add same custom service again] ******************************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:140 Thursday 23 June 2022 20:37:33 +0000 (0:00:00.021) 0:00:16.824 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:33 +0000 (0:00:00.057) 0:00:16.882 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:33 +0000 (0:00:00.029) 0:00:16.911 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:33 +0000 (0:00:00.402) 0:00:17.314 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:34 +0000 (0:00:00.505) 0:00:17.819 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:35 +0000 (0:00:00.524) 0:00:18.343 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:35 +0000 (0:00:00.024) 0:00:18.367 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:35 +0000 (0:00:00.378) 0:00:18.745 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:35 +0000 (0:00:00.049) 0:00:18.795 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:35 +0000 (0:00:00.034) 0:00:18.830 ********* ok: [/cache/centos-7.qcow2c.snap] => (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/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:36 +0000 (0:00:00.539) 0:00:19.370 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:36 +0000 (0:00:00.034) 0:00:19.404 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:36 +0000 (0:00:00.035) 0:00:19.439 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Fail when custom service changed] **************************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:161 Thursday 23 June 2022 20:37:36 +0000 (0:00:00.041) 0:00:19.480 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Query if default zone has custom service added] ************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:168 Thursday 23 June 2022 20:37:36 +0000 (0:00:00.022) 0:00:19.503 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": true, "cmd": [ "firewall-cmd", "--query-service", "systemroletest" ], "delta": "0:00:00.246601", "end": "2022-06-23 20:37:36.681216", "rc": 1, "start": "2022-06-23 20:37:36.434615" } STDOUT: no MSG: non-zero return code ...ignoring TASK [Fail if query return code incorrect] ************************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:173 Thursday 23 June 2022 20:37:36 +0000 (0:00:00.543) 0:00:20.046 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail if custom service in default zone] ********************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:178 Thursday 23 June 2022 20:37:36 +0000 (0:00:00.020) 0:00:20.066 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add custom service to default zone] ************************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:187 Thursday 23 June 2022 20:37:36 +0000 (0:00:00.019) 0:00:20.086 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:36 +0000 (0:00:00.063) 0:00:20.149 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:36 +0000 (0:00:00.028) 0:00:20.178 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:37 +0000 (0:00:00.430) 0:00:20.609 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:37 +0000 (0:00:00.519) 0:00:21.129 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:38 +0000 (0:00:00.550) 0:00:21.679 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:38 +0000 (0:00:00.025) 0:00:21.705 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:38 +0000 (0:00:00.385) 0:00:22.090 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:38 +0000 (0:00:00.048) 0:00:22.139 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:38 +0000 (0:00:00.039) 0:00:22.178 ********* changed: [/cache/centos-7.qcow2c.snap] => (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/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:39 +0000 (0:00:00.580) 0:00:22.758 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:39 +0000 (0:00:00.037) 0:00:22.795 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:39 +0000 (0:00:00.033) 0:00:22.829 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Query if service has been added to default zone] ************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:197 Thursday 23 June 2022 20:37:39 +0000 (0:00:00.041) 0:00:22.871 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--query-service", "systemroletest" ], "delta": "0:00:00.261627", "end": "2022-06-23 20:37:40.064069", "rc": 0, "start": "2022-06-23 20:37:39.802442" } STDOUT: yes TASK [Fail if service not added to default zone] ******************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:201 Thursday 23 June 2022 20:37:40 +0000 (0:00:00.565) 0:00:23.437 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service from default zone] ********************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:208 Thursday 23 June 2022 20:37:40 +0000 (0:00:00.022) 0:00:23.460 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:40 +0000 (0:00:00.069) 0:00:23.529 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:40 +0000 (0:00:00.026) 0:00:23.556 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:40 +0000 (0:00:00.404) 0:00:23.961 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:41 +0000 (0:00:00.510) 0:00:24.471 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:41 +0000 (0:00:00.518) 0:00:24.990 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:41 +0000 (0:00:00.024) 0:00:25.015 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:42 +0000 (0:00:00.375) 0:00:25.391 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:42 +0000 (0:00:00.057) 0:00:25.448 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:42 +0000 (0:00:00.034) 0:00:25.482 ********* changed: [/cache/centos-7.qcow2c.snap] => (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/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:42 +0000 (0:00:00.563) 0:00:26.046 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:42 +0000 (0:00:00.034) 0:00:26.081 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:42 +0000 (0:00:00.031) 0:00:26.112 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Remove custom service elements] ****************************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:218 Thursday 23 June 2022 20:37:42 +0000 (0:00:00.041) 0:00:26.153 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:42 +0000 (0:00:00.115) 0:00:26.269 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:42 +0000 (0:00:00.028) 0:00:26.297 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:43 +0000 (0:00:00.409) 0:00:26.707 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:43 +0000 (0:00:00.490) 0:00:27.197 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:44 +0000 (0:00:00.502) 0:00:27.700 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:44 +0000 (0:00:00.024) 0:00:27.724 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:44 +0000 (0:00:00.382) 0:00:28.106 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:44 +0000 (0:00:00.050) 0:00:28.157 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:44 +0000 (0:00:00.033) 0:00:28.190 ********* changed: [/cache/centos-7.qcow2c.snap] => (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/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:45 +0000 (0:00:00.731) 0:00:28.921 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:45 +0000 (0:00:00.035) 0:00:28.956 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:45 +0000 (0:00:00.032) 0:00:28.989 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [fail if custom service elements unchanged] ******************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:236 Thursday 23 June 2022 20:37:45 +0000 (0:00:00.041) 0:00:29.031 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service elements again] ************************************ task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:241 Thursday 23 June 2022 20:37:45 +0000 (0:00:00.020) 0:00:29.051 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:45 +0000 (0:00:00.067) 0:00:29.119 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:45 +0000 (0:00:00.025) 0:00:29.144 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:46 +0000 (0:00:00.405) 0:00:29.550 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:46 +0000 (0:00:00.516) 0:00:30.067 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:47 +0000 (0:00:00.510) 0:00:30.577 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:47 +0000 (0:00:00.029) 0:00:30.607 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:47 +0000 (0:00:00.393) 0:00:31.001 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:47 +0000 (0:00:00.048) 0:00:31.050 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:47 +0000 (0:00:00.035) 0:00:31.085 ********* ok: [/cache/centos-7.qcow2c.snap] => (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/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:48 +0000 (0:00:00.595) 0:00:31.681 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:48 +0000 (0:00:00.034) 0:00:31.716 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:48 +0000 (0:00:00.034) 0:00:31.750 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [fail if custom service elements changed] ********************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:257 Thursday 23 June 2022 20:37:48 +0000 (0:00:00.039) 0:00:31.790 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get all services] ******************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:262 Thursday 23 June 2022 20:37:48 +0000 (0:00:00.023) 0:00:31.814 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.248759", "end": "2022-06-23 20:37:49.000643", "rc": 0, "start": "2022-06-23 20:37:48.751884" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls systemroletest telnet tftp tftp-client 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/tmpaiuxunkc/tests/tests_service.yml:266 Thursday 23 June 2022 20:37:49 +0000 (0:00:00.553) 0:00:32.367 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [remove custom service] *************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:275 Thursday 23 June 2022 20:37:49 +0000 (0:00:00.023) 0:00:32.390 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:49 +0000 (0:00:00.115) 0:00:32.505 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:49 +0000 (0:00:00.028) 0:00:32.534 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:49 +0000 (0:00:00.411) 0:00:32.946 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:50 +0000 (0:00:00.509) 0:00:33.455 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:50 +0000 (0:00:00.509) 0:00:33.965 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:50 +0000 (0:00:00.025) 0:00:33.990 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:51 +0000 (0:00:00.374) 0:00:34.364 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:51 +0000 (0:00:00.049) 0:00:34.414 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:51 +0000 (0:00:00.034) 0:00:34.448 ********* changed: [/cache/centos-7.qcow2c.snap] => (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/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:51 +0000 (0:00:00.729) 0:00:35.178 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:51 +0000 (0:00:00.034) 0:00:35.212 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:51 +0000 (0:00:00.032) 0:00:35.244 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [get all services] ******************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:284 Thursday 23 June 2022 20:37:51 +0000 (0:00:00.040) 0:00:35.285 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.257435", "end": "2022-06-23 20:37:52.483637", "rc": 0, "start": "2022-06-23 20:37:52.226202" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls telnet tftp tftp-client 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/tmpaiuxunkc/tests/tests_service.yml:288 Thursday 23 June 2022 20:37:52 +0000 (0:00:00.564) 0:00:35.849 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [remove custom service again] ********************************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:293 Thursday 23 June 2022 20:37:52 +0000 (0:00:00.020) 0:00:35.870 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:52 +0000 (0:00:00.076) 0:00:35.947 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:52 +0000 (0:00:00.027) 0:00:35.974 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:53 +0000 (0:00:00.399) 0:00:36.373 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:53 +0000 (0:00:00.506) 0:00:36.880 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:54 +0000 (0:00:00.498) 0:00:37.378 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:54 +0000 (0:00:00.024) 0:00:37.402 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:54 +0000 (0:00:00.372) 0:00:37.774 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:54 +0000 (0:00:00.046) 0:00:37.821 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:54 +0000 (0:00:00.032) 0:00:37.854 ********* ok: [/cache/centos-7.qcow2c.snap] => (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/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:55 +0000 (0:00:00.597) 0:00:38.451 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:55 +0000 (0:00:00.034) 0:00:38.486 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:55 +0000 (0:00:00.033) 0:00:38.519 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Fail if second removal changes anything] ********************************* task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:302 Thursday 23 June 2022 20:37:55 +0000 (0:00:00.040) 0:00:38.560 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/tmpaiuxunkc/tests/tests_service.yml:308 Thursday 23 June 2022 20:37:55 +0000 (0:00:00.021) 0:00:38.581 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 20:37:55 +0000 (0:00:00.138) 0:00:38.720 ********* included: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:37:55 +0000 (0:00:00.028) 0:00:38.749 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 20:37:55 +0000 (0:00:00.405) 0:00:39.154 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 20:37:56 +0000 (0:00:00.522) 0:00:39.677 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 20:37:56 +0000 (0:00:00.539) 0:00:40.216 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 20:37:56 +0000 (0:00:00.023) 0:00:40.240 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ActiveEnterTimestampMonotonic": "127141226", "ActiveExitTimestamp": "Thu 2022-06-23 20:37:14 UTC", "ActiveExitTimestampMonotonic": "126155608", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:37:15 UTC", "AssertTimestampMonotonic": "126950446", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ConditionTimestampMonotonic": "126950446", "Conflicts": "ip6tables.service shutdown.target ebtables.service ipset.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:37:15 UTC", "ExecMainStartTimestampMonotonic": "126951316", "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-06-23 20:37:15 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveEnterTimestampMonotonic": "126949949", "InactiveExitTimestamp": "Thu 2022-06-23 20:37:15 UTC", "InactiveExitTimestampMonotonic": "126951348", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:37:15 UTC", "WatchdogTimestampMonotonic": "127141071", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 20:37:57 +0000 (0:00:00.372) 0:00:40.613 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 20:37:57 +0000 (0:00:00.047) 0:00:40.660 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 20:37:57 +0000 (0:00:00.031) 0:00:40.692 ********* TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:78 Thursday 23 June 2022 20:37:57 +0000 (0:00:00.035) 0:00:40.728 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:86 Thursday 23 June 2022 20:37:57 +0000 (0:00:00.038) 0:00:40.766 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 20:37:57 +0000 (0:00:00.034) 0:00:40.801 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=99 changed=12 unreachable=0 failed=0 skipped=80 rescued=0 ignored=1 Thursday 23 June 2022 20:37:57 +0000 (0:00:00.050) 0:00:40.852 ********* =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 1.33s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 1.33s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 1.33s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 1.28s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpaiuxunkc/tests/tests_service.yml:1 ------------------------------------ linux-system-roles.firewall : Enable and start firewalld service -------- 0.78s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Enable and start firewalld service -------- 0.78s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Enable and start firewalld service -------- 0.76s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Enable and start firewalld service -------- 0.75s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Configure firewall ------------------------ 0.69s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- get all services -------------------------------------------------------- 0.69s /tmp/tmpaiuxunkc/tests/tests_service.yml:19 ----------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.66s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install firewalld ------------------------- 0.64s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Enable and start firewalld service -------- 0.62s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Configure firewall ------------------------ 0.58s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Query if service has been added to default zone ------------------------- 0.57s /tmp/tmpaiuxunkc/tests/tests_service.yml:197 ---------------------------------- get all services -------------------------------------------------------- 0.56s /tmp/tmpaiuxunkc/tests/tests_service.yml:284 ---------------------------------- linux-system-roles.firewall : Configure firewall ------------------------ 0.56s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- get all services -------------------------------------------------------- 0.55s /tmp/tmpaiuxunkc/tests/tests_service.yml:262 ---------------------------------- linux-system-roles.firewall : Install python-firewall ------------------- 0.55s /tmp/tmpaiuxunkc/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 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/tmpe2xtogrr 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: tests_service.yml **************************************************** 1 plays in /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml PLAY [Test firewall user defined services] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:1 Thursday 23 June 2022 20:40:46 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Start from clean slate] ************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:10 Thursday 23 June 2022 20:40:47 +0000 (0:00:01.022) 0:00:01.036 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:40:47 +0000 (0:00:00.065) 0:00:01.102 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:40:47 +0000 (0:00:00.031) 0:00:01.133 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:40:48 +0000 (0:00:00.399) 0:00:01.533 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:40:48 +0000 (0:00:00.645) 0:00:02.178 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:40:49 +0000 (0:00:00.483) 0:00:02.662 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:40:49 +0000 (0:00:00.025) 0:00:02.688 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:40:50 +0000 (0:00:00.594) 0:00:03.282 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:40:50 +0000 (0:00:00.050) 0:00:03.332 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0 } STDOUT: /etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8) STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:40:50 +0000 (0:00:00.224) 0:00:03.556 ********* TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:40:50 +0000 (0:00:00.035) 0:00:03.591 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0 } STDOUT: /etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8) STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:40:50 +0000 (0:00:00.221) 0:00:03.813 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:40:50 +0000 (0:00:00.046) 0:00:03.860 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [get all services] ******************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:19 Thursday 23 June 2022 20:40:50 +0000 (0:00:00.043) 0:00:03.904 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.251243", "end": "2022-06-23 20:40:51.644117", "rc": 0, "start": "2022-06-23 20:40:51.392874" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls telnet tftp tftp-client 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/tmpp6g5_ykf/tests/firewall/tests_service.yml:23 Thursday 23 June 2022 20:40:51 +0000 (0:00:00.673) 0:00:04.577 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail if systemroletest present prior to test run] ************************ task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:30 Thursday 23 June 2022 20:40:51 +0000 (0:00:00.033) 0:00:04.610 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ensure http has default configuration] *********************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:35 Thursday 23 June 2022 20:40:51 +0000 (0:00:00.021) 0:00:04.632 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:40:51 +0000 (0:00:00.043) 0:00:04.675 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:40:51 +0000 (0:00:00.035) 0:00:04.710 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:40:51 +0000 (0:00:00.394) 0:00:05.105 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:40:52 +0000 (0:00:00.493) 0:00:05.599 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:40:52 +0000 (0:00:00.516) 0:00:06.115 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:40:52 +0000 (0:00:00.025) 0:00:06.141 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:40:53 +0000 (0:00:00.387) 0:00:06.528 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:40:53 +0000 (0:00:00.050) 0:00:06.579 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:40:53 +0000 (0:00:00.032) 0:00:06.612 ********* ok: [/cache/centos-7.qcow2c.snap] => (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/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:40:54 +0000 (0:00:00.701) 0:00:07.313 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:40:54 +0000 (0:00:00.034) 0:00:07.348 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:40:54 +0000 (0:00:00.034) 0:00:07.382 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Fail if service changed] ************************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:52 Thursday 23 June 2022 20:40:54 +0000 (0:00:00.040) 0:00:07.423 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [change default service http] ********************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:59 Thursday 23 June 2022 20:40:54 +0000 (0:00:00.019) 0:00:07.442 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:40:54 +0000 (0:00:00.046) 0:00:07.489 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:40:54 +0000 (0:00:00.027) 0:00:07.516 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:40:54 +0000 (0:00:00.434) 0:00:07.950 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:40:55 +0000 (0:00:00.503) 0:00:08.454 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:40:55 +0000 (0:00:00.501) 0:00:08.956 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:40:55 +0000 (0:00:00.025) 0:00:08.981 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:40:56 +0000 (0:00:00.373) 0:00:09.354 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:40:56 +0000 (0:00:00.050) 0:00:09.405 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:40:56 +0000 (0:00:00.034) 0:00:09.439 ********* changed: [/cache/centos-7.qcow2c.snap] => (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/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:40:56 +0000 (0:00:00.719) 0:00:10.159 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:40:56 +0000 (0:00:00.035) 0:00:10.194 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:40:57 +0000 (0:00:00.033) 0:00:10.228 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Fail when http is unchanged] ********************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:73 Thursday 23 June 2022 20:40:57 +0000 (0:00:00.039) 0:00:10.268 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [change default service http again] *************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:78 Thursday 23 June 2022 20:40:57 +0000 (0:00:00.019) 0:00:10.287 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:40:57 +0000 (0:00:00.046) 0:00:10.334 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:40:57 +0000 (0:00:00.031) 0:00:10.365 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:40:57 +0000 (0:00:00.417) 0:00:10.783 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:40:58 +0000 (0:00:00.476) 0:00:11.259 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:40:58 +0000 (0:00:00.488) 0:00:11.748 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:40:58 +0000 (0:00:00.024) 0:00:11.772 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:40:58 +0000 (0:00:00.375) 0:00:12.147 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:40:58 +0000 (0:00:00.047) 0:00:12.195 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:40:59 +0000 (0:00:00.032) 0:00:12.228 ********* ok: [/cache/centos-7.qcow2c.snap] => (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/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:40:59 +0000 (0:00:00.540) 0:00:12.768 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:40:59 +0000 (0:00:00.031) 0:00:12.800 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:40:59 +0000 (0:00:00.030) 0:00:12.831 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Fail when http changes affect permanent configuration] ******************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:92 Thursday 23 June 2022 20:40:59 +0000 (0:00:00.037) 0:00:12.868 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add custom service] ****************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:101 Thursday 23 June 2022 20:40:59 +0000 (0:00:00.019) 0:00:12.888 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:40:59 +0000 (0:00:00.054) 0:00:12.942 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:40:59 +0000 (0:00:00.027) 0:00:12.970 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:41:00 +0000 (0:00:00.415) 0:00:13.385 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:41:00 +0000 (0:00:00.493) 0:00:13.879 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:41:01 +0000 (0:00:00.515) 0:00:14.395 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:41:01 +0000 (0:00:00.025) 0:00:14.420 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:41:01 +0000 (0:00:00.395) 0:00:14.816 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:41:01 +0000 (0:00:00.047) 0:00:14.863 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:41:01 +0000 (0:00:00.031) 0:00:14.895 ********* changed: [/cache/centos-7.qcow2c.snap] => (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/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:41:02 +0000 (0:00:00.779) 0:00:15.674 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:41:02 +0000 (0:00:00.034) 0:00:15.708 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:41:02 +0000 (0:00:00.034) 0:00:15.743 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [get all services] ******************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:124 Thursday 23 June 2022 20:41:02 +0000 (0:00:00.042) 0:00:15.786 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.249423", "end": "2022-06-23 20:41:03.415910", "rc": 0, "start": "2022-06-23 20:41:03.166487" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls systemroletest telnet tftp tftp-client 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/tmpp6g5_ykf/tests/firewall/tests_service.yml:128 Thursday 23 June 2022 20:41:03 +0000 (0:00:00.560) 0:00:16.346 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail when custom service not changed] ************************************ task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:133 Thursday 23 June 2022 20:41:03 +0000 (0:00:00.024) 0:00:16.371 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add same custom service again] ******************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:140 Thursday 23 June 2022 20:41:03 +0000 (0:00:00.020) 0:00:16.391 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:41:03 +0000 (0:00:00.055) 0:00:16.447 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:41:03 +0000 (0:00:00.031) 0:00:16.478 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:41:03 +0000 (0:00:00.392) 0:00:16.871 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:41:04 +0000 (0:00:00.518) 0:00:17.389 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:41:04 +0000 (0:00:00.504) 0:00:17.894 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:41:04 +0000 (0:00:00.026) 0:00:17.920 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:41:05 +0000 (0:00:00.400) 0:00:18.321 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:41:05 +0000 (0:00:00.079) 0:00:18.401 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:41:05 +0000 (0:00:00.033) 0:00:18.435 ********* ok: [/cache/centos-7.qcow2c.snap] => (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/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:41:05 +0000 (0:00:00.526) 0:00:18.962 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:41:05 +0000 (0:00:00.034) 0:00:18.996 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:41:05 +0000 (0:00:00.033) 0:00:19.030 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Fail when custom service changed] **************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:161 Thursday 23 June 2022 20:41:05 +0000 (0:00:00.039) 0:00:19.069 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Query if default zone has custom service added] ************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:168 Thursday 23 June 2022 20:41:05 +0000 (0:00:00.018) 0:00:19.088 ********* fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": true, "cmd": [ "firewall-cmd", "--query-service", "systemroletest" ], "delta": "0:00:00.278642", "end": "2022-06-23 20:41:06.732779", "rc": 1, "start": "2022-06-23 20:41:06.454137" } STDOUT: no MSG: non-zero return code ...ignoring TASK [Fail if query return code incorrect] ************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:173 Thursday 23 June 2022 20:41:06 +0000 (0:00:00.576) 0:00:19.664 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fail if custom service in default zone] ********************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:178 Thursday 23 June 2022 20:41:06 +0000 (0:00:00.022) 0:00:19.687 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add custom service to default zone] ************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:187 Thursday 23 June 2022 20:41:06 +0000 (0:00:00.022) 0:00:19.709 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:41:06 +0000 (0:00:00.097) 0:00:19.807 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:41:06 +0000 (0:00:00.030) 0:00:19.838 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:41:07 +0000 (0:00:00.406) 0:00:20.245 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:41:07 +0000 (0:00:00.546) 0:00:20.791 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:41:08 +0000 (0:00:00.488) 0:00:21.280 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:41:08 +0000 (0:00:00.024) 0:00:21.305 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:41:08 +0000 (0:00:00.390) 0:00:21.696 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:41:08 +0000 (0:00:00.047) 0:00:21.743 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:41:08 +0000 (0:00:00.034) 0:00:21.778 ********* changed: [/cache/centos-7.qcow2c.snap] => (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/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:41:09 +0000 (0:00:00.554) 0:00:22.332 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:41:09 +0000 (0:00:00.042) 0:00:22.375 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:41:09 +0000 (0:00:00.037) 0:00:22.412 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Query if service has been added to default zone] ************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:197 Thursday 23 June 2022 20:41:09 +0000 (0:00:00.041) 0:00:22.453 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--query-service", "systemroletest" ], "delta": "0:00:00.246857", "end": "2022-06-23 20:41:10.061469", "rc": 0, "start": "2022-06-23 20:41:09.814612" } STDOUT: yes TASK [Fail if service not added to default zone] ******************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:201 Thursday 23 June 2022 20:41:09 +0000 (0:00:00.539) 0:00:22.992 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service from default zone] ********************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:208 Thursday 23 June 2022 20:41:09 +0000 (0:00:00.021) 0:00:23.014 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:41:09 +0000 (0:00:00.069) 0:00:23.083 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:41:09 +0000 (0:00:00.028) 0:00:23.112 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:41:10 +0000 (0:00:00.394) 0:00:23.506 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:41:10 +0000 (0:00:00.514) 0:00:24.021 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:41:11 +0000 (0:00:00.507) 0:00:24.528 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:41:11 +0000 (0:00:00.026) 0:00:24.555 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:41:11 +0000 (0:00:00.384) 0:00:24.940 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:41:11 +0000 (0:00:00.083) 0:00:25.023 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:41:11 +0000 (0:00:00.032) 0:00:25.056 ********* changed: [/cache/centos-7.qcow2c.snap] => (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/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:41:12 +0000 (0:00:00.539) 0:00:25.595 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:41:12 +0000 (0:00:00.045) 0:00:25.640 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:41:12 +0000 (0:00:00.035) 0:00:25.676 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Remove custom service elements] ****************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:218 Thursday 23 June 2022 20:41:12 +0000 (0:00:00.043) 0:00:25.720 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:41:12 +0000 (0:00:00.108) 0:00:25.828 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:41:12 +0000 (0:00:00.031) 0:00:25.860 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:41:13 +0000 (0:00:00.411) 0:00:26.271 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:41:13 +0000 (0:00:00.514) 0:00:26.786 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:41:14 +0000 (0:00:00.496) 0:00:27.282 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:41:14 +0000 (0:00:00.025) 0:00:27.308 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:41:14 +0000 (0:00:00.382) 0:00:27.691 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:41:14 +0000 (0:00:00.048) 0:00:27.739 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:41:14 +0000 (0:00:00.031) 0:00:27.770 ********* changed: [/cache/centos-7.qcow2c.snap] => (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/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:41:15 +0000 (0:00:00.741) 0:00:28.512 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:41:15 +0000 (0:00:00.035) 0:00:28.547 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:41:15 +0000 (0:00:00.037) 0:00:28.584 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [fail if custom service elements unchanged] ******************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:236 Thursday 23 June 2022 20:41:15 +0000 (0:00:00.043) 0:00:28.628 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove custom service elements again] ************************************ task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:241 Thursday 23 June 2022 20:41:15 +0000 (0:00:00.022) 0:00:28.650 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:41:15 +0000 (0:00:00.070) 0:00:28.721 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:41:15 +0000 (0:00:00.030) 0:00:28.751 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:41:15 +0000 (0:00:00.415) 0:00:29.166 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:41:16 +0000 (0:00:00.518) 0:00:29.685 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:41:16 +0000 (0:00:00.511) 0:00:30.196 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:41:17 +0000 (0:00:00.026) 0:00:30.223 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:41:17 +0000 (0:00:00.385) 0:00:30.608 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:41:17 +0000 (0:00:00.090) 0:00:30.699 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:41:17 +0000 (0:00:00.035) 0:00:30.734 ********* ok: [/cache/centos-7.qcow2c.snap] => (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/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:41:18 +0000 (0:00:00.557) 0:00:31.291 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:41:18 +0000 (0:00:00.035) 0:00:31.327 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:41:18 +0000 (0:00:00.034) 0:00:31.361 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [fail if custom service elements changed] ********************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:257 Thursday 23 June 2022 20:41:18 +0000 (0:00:00.041) 0:00:31.402 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [get all services] ******************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:262 Thursday 23 June 2022 20:41:18 +0000 (0:00:00.022) 0:00:31.425 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.252656", "end": "2022-06-23 20:41:19.048691", "rc": 0, "start": "2022-06-23 20:41:18.796035" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls systemroletest telnet tftp tftp-client 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/tmpp6g5_ykf/tests/firewall/tests_service.yml:266 Thursday 23 June 2022 20:41:18 +0000 (0:00:00.565) 0:00:31.990 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [remove custom service] *************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:275 Thursday 23 June 2022 20:41:18 +0000 (0:00:00.024) 0:00:32.014 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:41:18 +0000 (0:00:00.116) 0:00:32.131 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:41:18 +0000 (0:00:00.030) 0:00:32.162 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:41:19 +0000 (0:00:00.413) 0:00:32.575 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:41:19 +0000 (0:00:00.511) 0:00:33.086 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:41:20 +0000 (0:00:00.503) 0:00:33.590 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:41:20 +0000 (0:00:00.026) 0:00:33.616 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:41:20 +0000 (0:00:00.382) 0:00:33.999 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:41:20 +0000 (0:00:00.051) 0:00:34.050 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:41:20 +0000 (0:00:00.034) 0:00:34.084 ********* changed: [/cache/centos-7.qcow2c.snap] => (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/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:41:21 +0000 (0:00:00.744) 0:00:34.828 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:41:21 +0000 (0:00:00.034) 0:00:34.863 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:41:21 +0000 (0:00:00.033) 0:00:34.897 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [get all services] ******************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:284 Thursday 23 June 2022 20:41:21 +0000 (0:00:00.040) 0:00:34.937 ********* changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--get-services" ], "delta": "0:00:00.256977", "end": "2022-06-23 20:41:22.552903", "rc": 0, "start": "2022-06-23 20:41:22.295926" } STDOUT: RH-Satellite-6 RH-Satellite-6-capsule amanda-client amanda-k5-client amqp amqps apcupsd audit bacula bacula-client bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc ceph ceph-mon cfengine condor-collector ctdb dhcp dhcpv6 dhcpv6-client distcc dns docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server finger freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp ganglia-client ganglia-master git gre high-availability http https imap imaps ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kerberos kibana klogin kpasswd kprop kshell ldap ldaps libvirt libvirt-tls lightning-network llmnr managesieve matrix mdns minidlna mongodb mosh mountd mqtt mqtt-tls ms-wbt mssql murmur mysql nfs nfs3 nmea-0183 nrpe ntp nut openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy proxy-dhcp ptp pulseaudio puppetmaster quassel radius redis rpc-bind rsh rsyncd rtsp salt-master samba samba-client samba-dc sane sip sips slp smtp smtp-submission smtps snmp snmptrap spideroak-lansync squid ssh steam-streaming svdrp svn syncthing syncthing-gui synergy syslog syslog-tls telnet tftp tftp-client 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/tmpp6g5_ykf/tests/firewall/tests_service.yml:288 Thursday 23 June 2022 20:41:22 +0000 (0:00:00.546) 0:00:35.484 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [remove custom service again] ********************************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:293 Thursday 23 June 2022 20:41:22 +0000 (0:00:00.023) 0:00:35.507 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:41:22 +0000 (0:00:00.078) 0:00:35.586 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:41:22 +0000 (0:00:00.031) 0:00:35.617 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:41:22 +0000 (0:00:00.405) 0:00:36.023 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:41:23 +0000 (0:00:00.504) 0:00:36.527 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:41:23 +0000 (0:00:00.507) 0:00:37.035 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:41:23 +0000 (0:00:00.026) 0:00:37.062 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:41:24 +0000 (0:00:00.389) 0:00:37.451 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:41:24 +0000 (0:00:00.086) 0:00:37.538 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:41:24 +0000 (0:00:00.034) 0:00:37.572 ********* ok: [/cache/centos-7.qcow2c.snap] => (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/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:41:24 +0000 (0:00:00.598) 0:00:38.171 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:41:24 +0000 (0:00:00.033) 0:00:38.204 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:41:25 +0000 (0:00:00.035) 0:00:38.239 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap TASK [Fail if second removal changes anything] ********************************* task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:302 Thursday 23 June 2022 20:41:25 +0000 (0:00:00.041) 0:00:38.281 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:308 Thursday 23 June 2022 20:41:25 +0000 (0:00:00.023) 0:00:38.305 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 20:41:25 +0000 (0:00:00.126) 0:00:38.431 ********* included: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 20:41:25 +0000 (0:00:00.030) 0:00:38.462 ********* ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 20:41:25 +0000 (0:00:00.404) 0:00:38.867 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 20:41:26 +0000 (0:00:00.499) 0:00:39.366 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 20:41:26 +0000 (0:00:00.508) 0:00:39.874 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 20:41:26 +0000 (0:00:00.027) 0:00:39.902 ********* ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-06-23 20:40:46 UTC", "ActiveEnterTimestampMonotonic": "125554237", "ActiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ActiveExitTimestampMonotonic": "124638123", "ActiveState": "active", "After": "dbus.service basic.target polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-06-23 20:40:45 UTC", "AssertTimestampMonotonic": "125369039", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ConditionTimestampMonotonic": "125369038", "Conflicts": "shutdown.target ipset.service ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13219", "ExecMainStartTimestamp": "Thu 2022-06-23 20:40:45 UTC", "ExecMainStartTimestampMonotonic": "125369669", "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-06-23 20:40:45 UTC] ; stop_time=[n/a] ; pid=13219 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveEnterTimestampMonotonic": "125368657", "InactiveExitTimestamp": "Thu 2022-06-23 20:40:45 UTC", "InactiveExitTimestampMonotonic": "125369700", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7154", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7154", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13219", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-06-23 20:40:46 UTC", "WatchdogTimestampMonotonic": "125554175", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 20:41:27 +0000 (0:00:00.397) 0:00:40.300 ********* ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 20:41:27 +0000 (0:00:00.050) 0:00:40.350 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 20:41:27 +0000 (0:00:00.034) 0:00:40.385 ********* TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 23 June 2022 20:41:27 +0000 (0:00:00.038) 0:00:40.423 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 23 June 2022 20:41:27 +0000 (0:00:00.033) 0:00:40.456 ********* skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 23 June 2022 20:41:27 +0000 (0:00:00.034) 0:00:40.491 ********* skipping: [/cache/centos-7.qcow2c.snap] => {} META: role_complete for /cache/centos-7.qcow2c.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=99 changed=12 unreachable=0 failed=0 skipped=80 rescued=0 ignored=1 Thursday 23 June 2022 20:41:27 +0000 (0:00:00.050) 0:00:40.541 ********* =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.34s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.31s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.30s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.26s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:1 --------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.80s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.77s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.77s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.75s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.70s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 get all services -------------------------------------------------------- 0.67s /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:19 -------------------------- fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.65s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.59s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Query if default zone has custom service added -------------------------- 0.58s /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:168 ------------------------- get all services -------------------------------------------------------- 0.57s /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:262 ------------------------- get all services -------------------------------------------------------- 0.56s /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:124 ------------------------- fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.55s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.55s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 get all services -------------------------------------------------------- 0.55s /tmp/tmpp6g5_ykf/tests/firewall/tests_service.yml:284 ------------------------- fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.54s /tmp/tmpe2xtogrr/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36