ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:6 Tuesday 12 April 2022 23:03:42 +0000 (0:00:00.023) 0:00:00.023 ********* changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 12 April 2022 23:03:43 +0000 (0:00:01.383) 0:00:01.407 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.38s /cache/rhel-8_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmp1lf_zz85/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:1 Tuesday 12 April 2022 23:03:43 +0000 (0:00:00.156) 0:00:01.563 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 12 April 2022 23:03:44 +0000 (0:00:01.006) 0:00:02.569 ********* included: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 12 April 2022 23:03:44 +0000 (0:00:00.042) 0:00:02.612 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 12 April 2022 23:03:44 +0000 (0:00:00.047) 0:00:02.660 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: iptables-ebtables-1.8.4-20.el8.x86_64", "Installed: iptables-libs-1.8.4-20.el8.x86_64", "Installed: libnftnl-1.1.5-4.el8.x86_64", "Installed: firewalld-0.9.3-7.el8.noarch", "Installed: firewalld-filesystem-0.9.3-7.el8.noarch", "Installed: nftables-1:0.9.3-21.el8.x86_64", "Installed: python3-firewall-0.9.3-7.el8.noarch", "Installed: python3-nftables-1:0.9.3-21.el8.x86_64", "Installed: ipset-7.1-1.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: iptables-1.8.4-20.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 12 April 2022 23:03:51 +0000 (0:00:06.830) 0:00:09.490 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 12 April 2022 23:03:51 +0000 (0:00:00.043) 0:00:09.533 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 12 April 2022 23:03:53 +0000 (0:00:01.249) 0:00:10.783 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service sysinit.target polkit.service system.slice dbus.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ipset.service nftables.service ebtables.service ip6tables.service iptables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6988", "LimitNPROCSoft": "6988", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6988", "LimitSIGPENDINGSoft": "6988", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11181", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 12 April 2022 23:03:54 +0000 (0:00:01.082) 0:00:11.865 ********* TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:14 Tuesday 12 April 2022 23:03:54 +0000 (0:00:00.040) 0:00:11.906 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.264772", "end": "2022-04-12 19:03:53.690784", "failed_when_result": false, "rc": 112, "start": "2022-04-12 19:03:53.426012" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:19 Tuesday 12 April 2022 23:03:54 +0000 (0:00:00.808) 0:00:12.715 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.251992", "end": "2022-04-12 19:03:54.343756", "failed_when_result": false, "rc": 22, "start": "2022-04-12 19:03:54.091764" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:24 Tuesday 12 April 2022 23:03:55 +0000 (0:00:00.648) 0:00:13.364 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.253323", "end": "2022-04-12 19:03:54.991180", "failed_when_result": false, "rc": 22, "start": "2022-04-12 19:03:54.737857" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:29 Tuesday 12 April 2022 23:03:56 +0000 (0:00:00.650) 0:00:14.014 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.282455", "end": "2022-04-12 19:03:55.670292", "failed_when_result": false, "rc": 22, "start": "2022-04-12 19:03:55.387837" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:34 Tuesday 12 April 2022 23:03:56 +0000 (0:00:00.677) 0:00:14.691 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.249724", "end": "2022-04-12 19:03:56.294613", "failed_when_result": false, "rc": 22, "start": "2022-04-12 19:03:56.044889" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:39 Tuesday 12 April 2022 23:03:57 +0000 (0:00:00.624) 0:00:15.315 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.259322", "end": "2022-04-12 19:03:56.942121", "failed_when_result": false, "rc": 22, "start": "2022-04-12 19:03:56.682799" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:44 Tuesday 12 April 2022 23:03:58 +0000 (0:00:00.645) 0:00:15.961 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.517991", "end": "2022-04-12 19:03:57.834030", "failed_when_result": false, "rc": 22, "start": "2022-04-12 19:03:57.316039" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:52 Tuesday 12 April 2022 23:03:59 +0000 (0:00:00.891) 0:00:16.853 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.257465", "end": "2022-04-12 19:03:58.470564", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:03:58.213099" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:57 Tuesday 12 April 2022 23:03:59 +0000 (0:00:00.641) 0:00:17.494 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.789670", "end": "2022-04-12 19:03:59.650022", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:03:58.860352" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:64 Tuesday 12 April 2022 23:04:00 +0000 (0:00:01.173) 0:00:18.668 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:72 Tuesday 12 April 2022 23:04:01 +0000 (0:00:00.664) 0:00:19.332 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:80 Tuesday 12 April 2022 23:04:02 +0000 (0:00:00.531) 0:00:19.863 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:88 Tuesday 12 April 2022 23:04:02 +0000 (0:00:00.545) 0:00:20.408 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:96 Tuesday 12 April 2022 23:04:03 +0000 (0:00:00.562) 0:00:20.971 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:104 Tuesday 12 April 2022 23:04:03 +0000 (0:00:00.562) 0:00:21.534 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:112 Tuesday 12 April 2022 23:04:04 +0000 (0:00:00.536) 0:00:22.070 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:120 Tuesday 12 April 2022 23:04:04 +0000 (0:00:00.556) 0:00:22.627 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:128 Tuesday 12 April 2022 23:04:05 +0000 (0:00:00.560) 0:00:23.188 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:137 Tuesday 12 April 2022 23:04:05 +0000 (0:00:00.545) 0:00:23.733 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:146 Tuesday 12 April 2022 23:04:06 +0000 (0:00:00.553) 0:00:24.287 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:155 Tuesday 12 April 2022 23:04:07 +0000 (0:00:00.595) 0:00:24.882 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:164 Tuesday 12 April 2022 23:04:07 +0000 (0:00:00.539) 0:00:25.422 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:173 Tuesday 12 April 2022 23:04:08 +0000 (0:00:00.581) 0:00:26.004 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:182 Tuesday 12 April 2022 23:04:08 +0000 (0:00:00.540) 0:00:26.545 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:191 Tuesday 12 April 2022 23:04:09 +0000 (0:00:00.565) 0:00:27.110 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:200 Tuesday 12 April 2022 23:04:09 +0000 (0:00:00.558) 0:00:27.668 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:209 Tuesday 12 April 2022 23:04:10 +0000 (0:00:00.553) 0:00:28.222 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:218 Tuesday 12 April 2022 23:04:11 +0000 (0:00:00.562) 0:00:28.785 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:226 Tuesday 12 April 2022 23:04:11 +0000 (0:00:00.546) 0:00:29.331 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:235 Tuesday 12 April 2022 23:04:12 +0000 (0:00:00.549) 0:00:29.881 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:244 Tuesday 12 April 2022 23:04:12 +0000 (0:00:00.554) 0:00:30.435 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:253 Tuesday 12 April 2022 23:04:13 +0000 (0:00:00.578) 0:00:31.013 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:262 Tuesday 12 April 2022 23:04:13 +0000 (0:00:00.529) 0:00:31.543 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:271 Tuesday 12 April 2022 23:04:14 +0000 (0:00:00.534) 0:00:32.077 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:280 Tuesday 12 April 2022 23:04:15 +0000 (0:00:01.146) 0:00:33.224 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:289 Tuesday 12 April 2022 23:04:16 +0000 (0:00:00.549) 0:00:33.773 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:298 Tuesday 12 April 2022 23:04:17 +0000 (0:00:01.018) 0:00:34.791 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:307 Tuesday 12 April 2022 23:04:17 +0000 (0:00:00.520) 0:00:35.312 ********* [DEPRECATION WARNING]: Alias 'immediate' is deprecated. See the module docs for more information. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:319 Tuesday 12 April 2022 23:04:18 +0000 (0:00:00.600) 0:00:35.912 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:331 Tuesday 12 April 2022 23:04:18 +0000 (0:00:00.527) 0:00:36.440 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:339 Tuesday 12 April 2022 23:04:19 +0000 (0:00:00.992) 0:00:37.432 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:344 Tuesday 12 April 2022 23:04:19 +0000 (0:00:00.047) 0:00:37.479 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:354 Tuesday 12 April 2022 23:04:20 +0000 (0:00:00.526) 0:00:38.005 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [set default zone] ******************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:364 Tuesday 12 April 2022 23:04:20 +0000 (0:00:00.524) 0:00:38.530 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:371 Tuesday 12 April 2022 23:04:21 +0000 (0:00:00.600) 0:00:39.130 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:383 Tuesday 12 April 2022 23:04:21 +0000 (0:00:00.559) 0:00:39.690 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.259636", "end": "2022-04-12 19:04:21.303676", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:04:21.044040" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:388 Tuesday 12 April 2022 23:04:22 +0000 (0:00:00.635) 0:00:40.326 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.277999", "end": "2022-04-12 19:04:21.963274", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:04:21.685275" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:393 Tuesday 12 April 2022 23:04:23 +0000 (0:00:00.664) 0:00:40.991 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.266065", "end": "2022-04-12 19:04:22.628334", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:04:22.362269" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:398 Tuesday 12 April 2022 23:04:23 +0000 (0:00:00.661) 0:00:41.652 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.270056", "end": "2022-04-12 19:04:23.294861", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:04:23.024805" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:403 Tuesday 12 April 2022 23:04:24 +0000 (0:00:00.668) 0:00:42.321 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.249594", "end": "2022-04-12 19:04:23.922939", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:04:23.673345" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:408 Tuesday 12 April 2022 23:04:25 +0000 (0:00:00.620) 0:00:42.942 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:01.260802", "end": "2022-04-12 19:04:25.571419", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:04:24.310617" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:413 Tuesday 12 April 2022 23:04:26 +0000 (0:00:01.651) 0:00:44.593 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "firewall-cmd --permanent --load-zone-defaults=public\n", "delta": "0:00:00.253940", "end": "2022-04-12 19:04:26.204549", "failed_when_result": false, "rc": 22, "start": "2022-04-12 19:04:25.950609" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_ansible.yml:420 Tuesday 12 April 2022 23:04:27 +0000 (0:00:00.631) 0:00:45.224 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.713429", "end": "2022-04-12 19:04:27.300449", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:04:26.587020" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=59 changed=37 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Tuesday 12 April 2022 23:04:28 +0000 (0:00:01.090) 0:00:46.314 ********* =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 6.83s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Reset public zone to defaults ------------------------------------------- 1.65s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:408 ---------------------------------- set up internal repositories -------------------------------------------- 1.38s /cache/rhel-8_setup.yml:6 ----------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.25s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Reload firewalld -------------------------------------------------------- 1.17s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:57 ----------------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 1.15s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:271 ---------------------------------- Reload firewalld -------------------------------------------------------- 1.09s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:420 ---------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 1.08s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Ensure default target in permanent internal zone ------------------------ 1.02s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:289 ---------------------------------- Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:1 ------------------------------------ Firewalld custom zone --------------------------------------------------- 0.99s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:331 ---------------------------------- Reset default zone to defaults ------------------------------------------ 0.89s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:44 ----------------------------------- Remove custom zone ------------------------------------------------------ 0.81s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:14 ----------------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.68s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:29 ----------------------------------- Reset dmz zone to defaults ---------------------------------------------- 0.67s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:398 ---------------------------------- Reset internal zone to defaults ----------------------------------------- 0.66s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:388 ---------------------------------- Permit traffic in default zone for https service ------------------------ 0.66s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:64 ----------------------------------- Reset trusted zone to defaults ------------------------------------------ 0.66s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:393 ---------------------------------- Reset trusted zone to defaults ------------------------------------------ 0.65s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:24 ----------------------------------- Reset internal zone to defaults ----------------------------------------- 0.65s /tmp/tmp1lf_zz85/tests/tests_ansible.yml:19 ----------------------------------- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:6 Tuesday 12 April 2022 23:04:41 +0000 (0:00:00.023) 0:00:00.023 ********* changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 12 April 2022 23:04:42 +0000 (0:00:01.356) 0:00:01.379 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-8_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmp1lf_zz85/tests/tests_default.yml PLAY [Ensure that the roles runs with default parameters] ********************** META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 12 April 2022 23:04:42 +0000 (0:00:00.132) 0:00:01.511 ********* included: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 12 April 2022 23:04:42 +0000 (0:00:00.027) 0:00:01.538 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 12 April 2022 23:04:43 +0000 (0:00:00.814) 0:00:02.353 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: iptables-ebtables-1.8.4-20.el8.x86_64", "Installed: iptables-libs-1.8.4-20.el8.x86_64", "Installed: libnftnl-1.1.5-4.el8.x86_64", "Installed: firewalld-0.9.3-7.el8.noarch", "Installed: firewalld-filesystem-0.9.3-7.el8.noarch", "Installed: nftables-1:0.9.3-21.el8.x86_64", "Installed: python3-firewall-0.9.3-7.el8.noarch", "Installed: python3-nftables-1:0.9.3-21.el8.x86_64", "Installed: ipset-7.1-1.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: iptables-1.8.4-20.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 12 April 2022 23:04:50 +0000 (0:00:06.559) 0:00:08.913 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 12 April 2022 23:04:50 +0000 (0:00:00.040) 0:00:08.954 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 12 April 2022 23:04:51 +0000 (0:00:01.282) 0:00:10.236 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service sysinit.target dbus.service basic.target dbus.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "ipset.service ip6tables.service nftables.service shutdown.target iptables.service ebtables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6988", "LimitNPROCSoft": "6988", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6988", "LimitSIGPENDINGSoft": "6988", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11181", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 12 April 2022 23:04:52 +0000 (0:00:01.073) 0:00:11.310 ********* META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=6 changed=3 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Tuesday 12 April 2022 23:04:52 +0000 (0:00:00.038) 0:00:11.348 ********* =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 6.56s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 set up internal repositories -------------------------------------------- 1.36s /cache/rhel-8_setup.yml:6 ----------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.28s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Enable and start firewalld service -------- 1.07s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.81s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Install python-firewall ------------------- 0.04s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Configure firewall ------------------------ 0.04s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : include_tasks ----------------------------- 0.03s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 ----- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:6 Tuesday 12 April 2022 23:05:05 +0000 (0:00:00.029) 0:00:00.029 ********* changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 12 April 2022 23:05:06 +0000 (0:00:01.395) 0:00:01.424 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.40s /cache/rhel-8_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_target.yml ***************************************************** 1 plays in /tmp/tmp1lf_zz85/tests/tests_target.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1lf_zz85/tests/tests_target.yml:1 Tuesday 12 April 2022 23:05:06 +0000 (0:00:00.010) 0:00:01.435 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /tmp/tmp1lf_zz85/tests/tests_target.yml:3 Tuesday 12 April 2022 23:05:07 +0000 (0:00:01.018) 0:00:02.453 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 12 April 2022 23:05:07 +0000 (0:00:00.142) 0:00:02.596 ********* included: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 12 April 2022 23:05:07 +0000 (0:00:00.044) 0:00:02.641 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 12 April 2022 23:05:07 +0000 (0:00:00.047) 0:00:02.689 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: iptables-ebtables-1.8.4-20.el8.x86_64", "Installed: iptables-libs-1.8.4-20.el8.x86_64", "Installed: libnftnl-1.1.5-4.el8.x86_64", "Installed: firewalld-0.9.3-7.el8.noarch", "Installed: firewalld-filesystem-0.9.3-7.el8.noarch", "Installed: nftables-1:0.9.3-21.el8.x86_64", "Installed: python3-firewall-0.9.3-7.el8.noarch", "Installed: python3-nftables-1:0.9.3-21.el8.x86_64", "Installed: ipset-7.1-1.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: iptables-1.8.4-20.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 12 April 2022 23:05:14 +0000 (0:00:06.381) 0:00:09.070 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 12 April 2022 23:05:14 +0000 (0:00:00.044) 0:00:09.115 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 12 April 2022 23:05:15 +0000 (0:00:01.278) 0:00:10.393 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice polkit.service basic.target dbus.socket dbus.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service shutdown.target nftables.service ebtables.service ipset.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6988", "LimitNPROCSoft": "6988", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6988", "LimitSIGPENDINGSoft": "6988", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11181", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 12 April 2022 23:05:16 +0000 (0:00:01.128) 0:00:11.522 ********* ok: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'permanent': True, u'set_default_zone': u'public'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public", "state": "enabled" } } changed: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'permanent': True, u'target': u'DROP'}) => { "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "enabled", "target": "DROP" } } TASK [Get target setting] ****************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_target.yml:15 Tuesday 12 April 2022 23:05:18 +0000 (0:00:01.780) 0:00:13.302 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.259743", "end": "2022-04-12 19:05:19.291610", "rc": 0, "start": "2022-04-12 19:05:19.031867" } STDOUT: public (active) target: DROP icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting] *************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_target.yml:20 Tuesday 12 April 2022 23:05:19 +0000 (0:00:00.753) 0:00:14.056 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /tmp/tmp1lf_zz85/tests/tests_target.yml:26 Tuesday 12 April 2022 23:05:19 +0000 (0:00:00.046) 0:00:14.102 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 12 April 2022 23:05:19 +0000 (0:00:00.032) 0:00:14.134 ********* included: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 12 April 2022 23:05:19 +0000 (0:00:00.027) 0:00:14.162 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 12 April 2022 23:05:19 +0000 (0:00:00.043) 0:00:14.206 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 12 April 2022 23:05:20 +0000 (0:00:01.383) 0:00:15.589 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 12 April 2022 23:05:20 +0000 (0:00:00.042) 0:00:15.632 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 12 April 2022 23:05:22 +0000 (0:00:01.242) 0:00:16.874 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-04-12 19:05:16 EDT", "ActiveEnterTimestampMonotonic": "20603203", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target dbus.socket dbus.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-04-12 19:05:16 EDT", "AssertTimestampMonotonic": "20319321", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-04-12 19:05:16 EDT", "ConditionTimestampMonotonic": "20319321", "ConfigurationDirectoryMode": "0755", "Conflicts": "iptables.service ip6tables.service shutdown.target nftables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11870", "ExecMainStartTimestamp": "Tue 2022-04-12 19:05:16 EDT", "ExecMainStartTimestampMonotonic": "20320945", "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=[Tue 2022-04-12 19:05:16 EDT] ; stop_time=[n/a] ; pid=11870 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-04-12 19:05:16 EDT", "InactiveExitTimestampMonotonic": "20320980", "InvocationID": "6bf1c63b90dc43c89a56ab0401886f08", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6988", "LimitNPROCSoft": "6988", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6988", "LimitSIGPENDINGSoft": "6988", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11870", "MemoryAccounting": "yes", "MemoryCurrent": "29552640", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-04-12 19:05:16 EDT", "StateChangeTimestampMonotonic": "20603203", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11181", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-04-12 19:05:16 EDT", "WatchdogTimestampMonotonic": "20603201", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 12 April 2022 23:05:22 +0000 (0:00:00.511) 0:00:17.385 ********* changed: [/cache/rhel-8.qcow2] => (item={u'state': u'absent', u'permanent': True, u'target': u'DROP'}) => { "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "absent", "target": "DROP" } } TASK [Get target setting] ****************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_target.yml:35 Tuesday 12 April 2022 23:05:23 +0000 (0:00:01.045) 0:00:18.431 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.252094", "end": "2022-04-12 19:05:24.288314", "rc": 0, "start": "2022-04-12 19:05:24.036220" } STDOUT: public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: cockpit dhcpv6-client ssh ports: protocols: forward: no masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting was reset] ***************************************** task path: /tmp/tmp1lf_zz85/tests/tests_target.yml:40 Tuesday 12 April 2022 23:05:24 +0000 (0:00:00.620) 0:00:19.051 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=16 changed=5 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Tuesday 12 April 2022 23:05:24 +0000 (0:00:00.040) 0:00:19.092 ********* =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 6.38s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Configure firewall ------------------------ 1.78s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- set up internal repositories -------------------------------------------- 1.40s /cache/rhel-8_setup.yml:6 ----------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 1.38s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.28s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.24s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Enable and start firewalld service -------- 1.13s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Configure firewall ------------------------ 1.05s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp1lf_zz85/tests/tests_target.yml:1 ------------------------------------- Get target setting ------------------------------------------------------ 0.75s /tmp/tmp1lf_zz85/tests/tests_target.yml:15 ------------------------------------ Get target setting ------------------------------------------------------ 0.62s /tmp/tmp1lf_zz85/tests/tests_target.yml:35 ------------------------------------ linux-system-roles.firewall : Enable and start firewalld service -------- 0.51s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Call role to change target settings ------------------------------------- 0.14s /tmp/tmp1lf_zz85/tests/tests_target.yml:3 ------------------------------------- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.05s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Verify target setting --------------------------------------------------- 0.05s /tmp/tmp1lf_zz85/tests/tests_target.yml:20 ------------------------------------ linux-system-roles.firewall : Install python-firewall ------------------- 0.04s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : include_tasks ----------------------------- 0.04s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 ----- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.04s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Install python-firewall ------------------- 0.04s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Verify target setting was reset ----------------------------------------- 0.04s /tmp/tmp1lf_zz85/tests/tests_target.yml:40 ------------------------------------ ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:6 Tuesday 12 April 2022 23:05:37 +0000 (0:00:00.023) 0:00:00.023 ********* changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 12 April 2022 23:05:38 +0000 (0:00:01.377) 0:00:01.401 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.38s /cache/rhel-8_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_zone.yml ******************************************************* 1 plays in /tmp/tmp1lf_zz85/tests/tests_zone.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:1 Tuesday 12 April 2022 23:05:38 +0000 (0:00:00.017) 0:00:01.419 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_role : linux-system-roles.firewall] ****************************** task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:6 Tuesday 12 April 2022 23:05:39 +0000 (0:00:00.982) 0:00:02.401 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 12 April 2022 23:05:39 +0000 (0:00:00.140) 0:00:02.542 ********* included: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 12 April 2022 23:05:39 +0000 (0:00:00.039) 0:00:02.582 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 12 April 2022 23:05:39 +0000 (0:00:00.046) 0:00:02.628 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: iptables-ebtables-1.8.4-20.el8.x86_64", "Installed: iptables-libs-1.8.4-20.el8.x86_64", "Installed: libnftnl-1.1.5-4.el8.x86_64", "Installed: firewalld-0.9.3-7.el8.noarch", "Installed: firewalld-filesystem-0.9.3-7.el8.noarch", "Installed: nftables-1:0.9.3-21.el8.x86_64", "Installed: python3-firewall-0.9.3-7.el8.noarch", "Installed: python3-nftables-1:0.9.3-21.el8.x86_64", "Installed: ipset-7.1-1.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: iptables-1.8.4-20.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 12 April 2022 23:05:46 +0000 (0:00:06.734) 0:00:09.363 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 12 April 2022 23:05:46 +0000 (0:00:00.040) 0:00:09.404 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 12 April 2022 23:05:47 +0000 (0:00:01.279) 0:00:10.683 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice dbus.socket dbus.service sysinit.target polkit.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target nftables.service ip6tables.service iptables.service ipset.service ebtables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6988", "LimitNPROCSoft": "6988", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6988", "LimitSIGPENDINGSoft": "6988", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11181", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 12 April 2022 23:05:48 +0000 (0:00:01.074) 0:00:11.758 ********* TASK [Verify used firewalld zones] ********************************************* task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:14 Tuesday 12 April 2022 23:05:48 +0000 (0:00:00.043) 0:00:11.802 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 12 April 2022 23:05:48 +0000 (0:00:00.060) 0:00:11.863 ********* included: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 12 April 2022 23:05:49 +0000 (0:00:00.057) 0:00:11.920 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 12 April 2022 23:05:49 +0000 (0:00:00.055) 0:00:11.976 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 12 April 2022 23:05:50 +0000 (0:00:01.310) 0:00:13.287 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 12 April 2022 23:05:50 +0000 (0:00:00.046) 0:00:13.333 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 12 April 2022 23:05:51 +0000 (0:00:01.268) 0:00:14.602 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-04-12 19:05:47 EDT", "ActiveEnterTimestampMonotonic": "20779365", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket dbus.service sysinit.target polkit.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-04-12 19:05:47 EDT", "AssertTimestampMonotonic": "20521072", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-04-12 19:05:47 EDT", "ConditionTimestampMonotonic": "20521072", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target nftables.service ip6tables.service iptables.service ipset.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11593", "ExecMainStartTimestamp": "Tue 2022-04-12 19:05:47 EDT", "ExecMainStartTimestampMonotonic": "20522318", "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=[Tue 2022-04-12 19:05:47 EDT] ; stop_time=[n/a] ; pid=11593 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-04-12 19:05:47 EDT", "InactiveExitTimestampMonotonic": "20522354", "InvocationID": "351d44c8703b47a6b5437004ee5cd45d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6988", "LimitNPROCSoft": "6988", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6988", "LimitSIGPENDINGSoft": "6988", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11593", "MemoryAccounting": "yes", "MemoryCurrent": "27328512", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-04-12 19:05:47 EDT", "StateChangeTimestampMonotonic": "20779365", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11181", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-04-12 19:05:47 EDT", "WatchdogTimestampMonotonic": "20779364", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 12 April 2022 23:05:52 +0000 (0:00:00.512) 0:00:15.115 ********* ok: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'zone': u'internal'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'zone': u'external'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "external" } } ok: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'zone': u'trusted'}) => { "ansible_loop_var": "item", "changed": false, "item": { "state": "enabled", "zone": "trusted" } } TASK [Fail on missing zones] *************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:26 Tuesday 12 April 2022 23:05:53 +0000 (0:00:01.790) 0:00:16.905 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld] ********************************************************* task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:32 Tuesday 12 April 2022 23:05:54 +0000 (0:00:00.043) 0:00:16.948 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 12 April 2022 23:05:54 +0000 (0:00:00.058) 0:00:17.007 ********* included: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 12 April 2022 23:05:54 +0000 (0:00:00.049) 0:00:17.057 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 12 April 2022 23:05:54 +0000 (0:00:00.046) 0:00:17.103 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 12 April 2022 23:05:55 +0000 (0:00:01.291) 0:00:18.395 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 12 April 2022 23:05:55 +0000 (0:00:00.045) 0:00:18.441 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 12 April 2022 23:05:56 +0000 (0:00:01.221) 0:00:19.662 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-04-12 19:05:47 EDT", "ActiveEnterTimestampMonotonic": "20779365", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket dbus.service sysinit.target polkit.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-04-12 19:05:47 EDT", "AssertTimestampMonotonic": "20521072", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-04-12 19:05:47 EDT", "ConditionTimestampMonotonic": "20521072", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target nftables.service ip6tables.service iptables.service ipset.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11593", "ExecMainStartTimestamp": "Tue 2022-04-12 19:05:47 EDT", "ExecMainStartTimestampMonotonic": "20522318", "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=[Tue 2022-04-12 19:05:47 EDT] ; stop_time=[n/a] ; pid=11593 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-04-12 19:05:47 EDT", "InactiveExitTimestampMonotonic": "20522354", "InvocationID": "351d44c8703b47a6b5437004ee5cd45d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6988", "LimitNPROCSoft": "6988", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6988", "LimitSIGPENDINGSoft": "6988", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11593", "MemoryAccounting": "yes", "MemoryCurrent": "28278784", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-04-12 19:05:47 EDT", "StateChangeTimestampMonotonic": "20779365", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "2", "TasksMax": "11181", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-04-12 19:05:47 EDT", "WatchdogTimestampMonotonic": "20779364", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 12 April 2022 23:05:57 +0000 (0:00:00.531) 0:00:20.193 ********* changed: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } changed: [/cache/rhel-8.qcow2] => (item={u'state': u'present', u'permanent': True, u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "present", "zone": "customzone" } } changed: [/cache/rhel-8.qcow2] => (item={u'masquerade': True, u'state': u'enabled', u'permanent': True, u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": true, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } changed: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "ansible_loop_var": "item", "changed": true, "item": { "set_default_zone": "dmz", "state": "enabled" } } changed: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'service': u'http'}) => { "ansible_loop_var": "item", "changed": true, "item": { "service": "http", "state": "enabled" } } TASK [Fail if no changes are done] ********************************************* task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:62 Tuesday 12 April 2022 23:06:00 +0000 (0:00:03.701) 0:00:23.894 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup firewalld again] *************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:68 Tuesday 12 April 2022 23:06:01 +0000 (0:00:00.045) 0:00:23.940 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Tuesday 12 April 2022 23:06:01 +0000 (0:00:00.058) 0:00:23.999 ********* included: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Tuesday 12 April 2022 23:06:01 +0000 (0:00:00.054) 0:00:24.053 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Tuesday 12 April 2022 23:06:01 +0000 (0:00:00.044) 0:00:24.098 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Tuesday 12 April 2022 23:06:02 +0000 (0:00:01.239) 0:00:25.338 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Tuesday 12 April 2022 23:06:02 +0000 (0:00:00.043) 0:00:25.381 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Tuesday 12 April 2022 23:06:03 +0000 (0:00:01.210) 0:00:26.592 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-04-12 19:05:47 EDT", "ActiveEnterTimestampMonotonic": "20779365", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket dbus.service sysinit.target polkit.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-04-12 19:05:47 EDT", "AssertTimestampMonotonic": "20521072", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2022-04-12 19:05:47 EDT", "ConditionTimestampMonotonic": "20521072", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target nftables.service ip6tables.service iptables.service ipset.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11593", "ExecMainStartTimestamp": "Tue 2022-04-12 19:05:47 EDT", "ExecMainStartTimestampMonotonic": "20522318", "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=[Tue 2022-04-12 19:05:47 EDT] ; stop_time=[n/a] ; pid=11593 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-04-12 19:05:47 EDT", "InactiveExitTimestampMonotonic": "20522354", "InvocationID": "351d44c8703b47a6b5437004ee5cd45d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6988", "LimitNPROCSoft": "6988", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6988", "LimitSIGPENDINGSoft": "6988", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11593", "MemoryAccounting": "yes", "MemoryCurrent": "29646848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2022-04-12 19:05:47 EDT", "StateChangeTimestampMonotonic": "20779365", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "11181", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2022-04-12 19:05:47 EDT", "WatchdogTimestampMonotonic": "20779364", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Tuesday 12 April 2022 23:06:04 +0000 (0:00:00.532) 0:00:27.125 ********* ok: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'zone': u'internal', u'port': [u'443/tcp', u'443/udp'], u'service': [u'tftp', u'ftp'], u'forward_port': [u'447/tcp;;1.2.3.4', u'448/tcp;;1.2.3.5']}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ "447/tcp;;1.2.3.4", "448/tcp;;1.2.3.5" ], "port": [ "443/tcp", "443/udp" ], "service": [ "tftp", "ftp" ], "state": "enabled", "zone": "internal" } } ok: [/cache/rhel-8.qcow2] => (item={u'state': u'present', u'permanent': True, u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "state": "present", "zone": "customzone" } } ok: [/cache/rhel-8.qcow2] => (item={u'masquerade': True, u'state': u'enabled', u'permanent': True, u'zone': u'customzone'}) => { "ansible_loop_var": "item", "changed": false, "item": { "masquerade": true, "permanent": true, "state": "enabled", "zone": "customzone" } } ok: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'set_default_zone': u'dmz'}) => { "ansible_loop_var": "item", "changed": false, "item": { "set_default_zone": "dmz", "state": "enabled" } } ok: [/cache/rhel-8.qcow2] => (item={u'state': u'enabled', u'service': u'http'}) => { "ansible_loop_var": "item", "changed": false, "item": { "service": "http", "state": "enabled" } } TASK [Fail on newly changes] *************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:98 Tuesday 12 April 2022 23:06:07 +0000 (0:00:03.223) 0:00:30.348 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify firewalld zone internal services] ********************************* task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:104 Tuesday 12 April 2022 23:06:07 +0000 (0:00:00.046) 0:00:30.394 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-services" ], "delta": "0:00:00.284500", "end": "2022-04-12 19:06:07.342439", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:06:07.057939" } STDOUT: cockpit dhcpv6-client ftp mdns samba-client ssh tftp TASK [Verify firewalld zone internal ports] ************************************ task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:111 Tuesday 12 April 2022 23:06:08 +0000 (0:00:00.803) 0:00:31.198 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-ports" ], "delta": "0:00:00.252332", "end": "2022-04-12 19:06:07.984600", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:06:07.732268" } STDOUT: 443/tcp 443/udp TASK [Verify firewalld zone internal forward ports] **************************** task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:118 Tuesday 12 April 2022 23:06:08 +0000 (0:00:00.639) 0:00:31.838 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=internal", "--list-forward-ports" ], "delta": "0:00:00.251076", "end": "2022-04-12 19:06:08.616854", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:06:08.365778" } STDOUT: port=447:proto=tcp:toport=:toaddr=1.2.3.4 port=448:proto=tcp:toport=:toaddr=1.2.3.5 TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:127 Tuesday 12 April 2022 23:06:09 +0000 (0:00:00.630) 0:00:32.469 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--zone=customzone", "--query-masquerade" ], "delta": "0:00:00.264116", "end": "2022-04-12 19:06:09.269442", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:06:09.005326" } STDOUT: yes TASK [Verify custom zone has masquerade added to it] *************************** task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:133 Tuesday 12 April 2022 23:06:10 +0000 (0:00:00.653) 0:00:33.122 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.244481", "end": "2022-04-12 19:06:09.900796", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:06:09.656315" } STDOUT: dmz TASK [Verify that service http has been added to the default zone dmz] ********* task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:139 Tuesday 12 April 2022 23:06:10 +0000 (0:00:00.629) 0:00:33.751 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--zone=dmz", "--query-service=http" ], "delta": "0:00:00.243063", "end": "2022-04-12 19:06:10.526489", "failed_when_result": false, "rc": 0, "start": "2022-04-12 19:06:10.283426" } STDOUT: yes TASK [Reset to zone defaults] ************************************************** task path: /tmp/tmp1lf_zz85/tests/tests_zone.yml:148 Tuesday 12 April 2022 23:06:11 +0000 (0:00:00.626) 0:00:34.378 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "firewall-cmd --permanent --load-zone-defaults=internal\nfirewall-cmd --permanent --load-zone-defaults=external\nfirewall-cmd --permanent --load-zone-defaults=trusted\nfirewall-cmd --reload\n", "delta": "0:00:01.487296", "end": "2022-04-12 19:06:12.412261", "rc": 0, "start": "2022-04-12 19:06:10.924965" } STDOUT: success success STDERR: Error: NO_DEFAULTS: external Error: NO_DEFAULTS: trusted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=28 changed=11 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 Tuesday 12 April 2022 23:06:13 +0000 (0:00:01.892) 0:00:36.271 ********* =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 6.73s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Configure firewall ------------------------ 3.22s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- Reset to zone defaults -------------------------------------------------- 1.89s /tmp/tmp1lf_zz85/tests/tests_zone.yml:148 ------------------------------------- linux-system-roles.firewall : Configure firewall ------------------------ 1.79s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- set up internal repositories -------------------------------------------- 1.38s /cache/rhel-8_setup.yml:6 ----------------------------------------------------- linux-system-roles.firewall : Install firewalld ------------------------- 1.31s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install firewalld ------------------------- 1.29s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.28s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.27s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install firewalld ------------------------- 1.24s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.22s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Install python3-firewall ------------------ 1.21s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 linux-system-roles.firewall : Enable and start firewalld service -------- 1.07s /tmp/tmp1lf_zz85/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Gathering Facts --------------------------------------------------------- 0.98s /tmp/tmp1lf_zz85/tests/tests_zone.yml:1 --------------------------------------- Verify firewalld zone internal services --------------------------------- 0.80s /tmp/tmp1lf_zz85/tests/tests_zone.yml:104 ------------------------------------- Verify custom zone has masquerade added to it --------------------------- 0.65s /tmp/tmp1lf_zz85/tests/tests_zone.yml:127 ------------------------------------- Verify firewalld zone internal ports ------------------------------------ 0.64s /tmp/tmp1lf_zz85/tests/tests_zone.yml:111 ------------------------------------- Verify firewalld zone internal forward ports ---------------------------- 0.63s /tmp/tmp1lf_zz85/tests/tests_zone.yml:118 ------------------------------------- Verify custom zone has masquerade added to it --------------------------- 0.63s /tmp/tmp1lf_zz85/tests/tests_zone.yml:133 ------------------------------------- Verify that service http has been added to the default zone dmz --------- 0.63s /tmp/tmp1lf_zz85/tests/tests_zone.yml:139 -------------------------------------