ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpy484utgm executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 06 July 2022 20:12:11 +0000 (0:00:00.018) 0:00:00.018 ******** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 20:12:12 +0000 (0:00:01.343) 0:00:01.361 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_forward_port.yml *********************************************** 1 plays in /tmp/tmp49btz53v/tests/tests_forward_port.yml PLAY [Test forward port] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp49btz53v/tests/tests_forward_port.yml:2 Wednesday 06 July 2022 20:12:12 +0000 (0:00:00.034) 0:00:01.395 ******** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Clean slate] ************************************************************* task path: /tmp/tmp49btz53v/tests/tests_forward_port.yml:7 Wednesday 06 July 2022 20:12:13 +0000 (0:00:00.944) 0:00:02.340 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 06 July 2022 20:12:13 +0000 (0:00:00.035) 0:00:02.376 ******** included: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 06 July 2022 20:12:13 +0000 (0:00:00.027) 0:00:02.404 ******** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 06 July 2022 20:12:13 +0000 (0:00:00.400) 0:00:02.804 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 06 July 2022 20:12:14 +0000 (0:00:00.655) 0:00:03.460 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 06 July 2022 20:12:15 +0000 (0:00:00.486) 0:00:03.947 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 06 July 2022 20:12:15 +0000 (0:00:00.023) 0:00:03.970 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-06 16:11:55 EDT", "ActiveEnterTimestampMonotonic": "76742247", "ActiveExitTimestamp": "Wed 2022-07-06 16:11:54 EDT", "ActiveExitTimestampMonotonic": "75678684", "ActiveState": "active", "After": "polkit.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 16:11:55 EDT", "AssertTimestampMonotonic": "76542404", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 16:11:55 EDT", "ConditionTimestampMonotonic": "76542404", "Conflicts": "ip6tables.service ebtables.service iptables.service shutdown.target ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13729", "ExecMainStartTimestamp": "Wed 2022-07-06 16:11:55 EDT", "ExecMainStartTimestampMonotonic": "76543607", "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=[Wed 2022-07-06 16:11:55 EDT] ; stop_time=[n/a] ; pid=13729 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-07-06 16:11:55 EDT", "InactiveEnterTimestampMonotonic": "76540579", "InactiveExitTimestamp": "Wed 2022-07-06 16:11:55 EDT", "InactiveExitTimestampMonotonic": "76543645", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13729", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-06 16:11:55 EDT", "WatchdogTimestampMonotonic": "76742177", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 06 July 2022 20:12:15 +0000 (0:00:00.663) 0:00:04.634 ******** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 06 July 2022 20:12:15 +0000 (0:00:00.051) 0:00:04.685 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 06 July 2022 20:12:15 +0000 (0:00:00.029) 0:00:04.715 ******** TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 06 July 2022 20:12:15 +0000 (0:00:00.035) 0:00:04.750 ******** TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 06 July 2022 20:12:15 +0000 (0:00:00.033) 0:00:04.784 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:108 Wednesday 06 July 2022 20:12:15 +0000 (0:00:00.036) 0:00:04.820 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:113 Wednesday 06 July 2022 20:12:15 +0000 (0:00:00.030) 0:00:04.851 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:124 Wednesday 06 July 2022 20:12:15 +0000 (0:00:00.030) 0:00:04.881 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:132 Wednesday 06 July 2022 20:12:16 +0000 (0:00:00.030) 0:00:04.912 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:141 Wednesday 06 July 2022 20:12:16 +0000 (0:00:00.031) 0:00:04.943 ******** skipping: [/cache/rhel-7.qcow2] => {} META: role_complete for /cache/rhel-7.qcow2 TASK [forward_port and undo (string)] ****************************************** task path: /tmp/tmp49btz53v/tests/tests_forward_port.yml:16 Wednesday 06 July 2022 20:12:16 +0000 (0:00:00.039) 0:00:04.983 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 06 July 2022 20:12:16 +0000 (0:00:00.038) 0:00:05.022 ******** included: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 06 July 2022 20:12:16 +0000 (0:00:00.034) 0:00:05.056 ******** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 06 July 2022 20:12:16 +0000 (0:00:00.397) 0:00:05.454 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 06 July 2022 20:12:17 +0000 (0:00:00.477) 0:00:05.932 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 06 July 2022 20:12:17 +0000 (0:00:00.534) 0:00:06.467 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 06 July 2022 20:12:17 +0000 (0:00:00.025) 0:00:06.492 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-06 16:11:55 EDT", "ActiveEnterTimestampMonotonic": "76742247", "ActiveExitTimestamp": "Wed 2022-07-06 16:11:54 EDT", "ActiveExitTimestampMonotonic": "75678684", "ActiveState": "active", "After": "polkit.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 16:11:55 EDT", "AssertTimestampMonotonic": "76542404", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 16:11:55 EDT", "ConditionTimestampMonotonic": "76542404", "Conflicts": "ip6tables.service ebtables.service iptables.service shutdown.target ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13729", "ExecMainStartTimestamp": "Wed 2022-07-06 16:11:55 EDT", "ExecMainStartTimestampMonotonic": "76543607", "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=[Wed 2022-07-06 16:11:55 EDT] ; stop_time=[n/a] ; pid=13729 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-07-06 16:11:55 EDT", "InactiveEnterTimestampMonotonic": "76540579", "InactiveExitTimestamp": "Wed 2022-07-06 16:11:55 EDT", "InactiveExitTimestampMonotonic": "76543645", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13729", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-06 16:11:55 EDT", "WatchdogTimestampMonotonic": "76742177", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 06 July 2022 20:12:18 +0000 (0:00:00.439) 0:00:06.932 ******** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 06 July 2022 20:12:18 +0000 (0:00:00.047) 0:00:06.980 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 06 July 2022 20:12:18 +0000 (0:00:00.032) 0:00:07.012 ******** changed: [/cache/rhel-7.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "enabled" } } changed: [/cache/rhel-7.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "disabled" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 06 July 2022 20:12:19 +0000 (0:00:01.298) 0:00:08.310 ******** skipping: [/cache/rhel-7.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'disabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "disabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 06 July 2022 20:12:19 +0000 (0:00:00.044) 0:00:08.354 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:108 Wednesday 06 July 2022 20:12:19 +0000 (0:00:00.032) 0:00:08.387 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:113 Wednesday 06 July 2022 20:12:19 +0000 (0:00:00.031) 0:00:08.419 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:124 Wednesday 06 July 2022 20:12:19 +0000 (0:00:00.032) 0:00:08.451 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:132 Wednesday 06 July 2022 20:12:19 +0000 (0:00:00.032) 0:00:08.484 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:141 Wednesday 06 July 2022 20:12:19 +0000 (0:00:00.033) 0:00:08.517 ******** skipping: [/cache/rhel-7.qcow2] => {} META: role_complete for /cache/rhel-7.qcow2 TASK [forward_port (dict) and undo] ******************************************** task path: /tmp/tmp49btz53v/tests/tests_forward_port.yml:26 Wednesday 06 July 2022 20:12:19 +0000 (0:00:00.040) 0:00:08.558 ******** TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 06 July 2022 20:12:19 +0000 (0:00:00.085) 0:00:08.643 ******** included: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 06 July 2022 20:12:19 +0000 (0:00:00.028) 0:00:08.672 ******** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 06 July 2022 20:12:20 +0000 (0:00:00.402) 0:00:09.074 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 06 July 2022 20:12:20 +0000 (0:00:00.498) 0:00:09.572 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 06 July 2022 20:12:21 +0000 (0:00:00.489) 0:00:10.062 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 06 July 2022 20:12:21 +0000 (0:00:00.024) 0:00:10.086 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-06 16:11:55 EDT", "ActiveEnterTimestampMonotonic": "76742247", "ActiveExitTimestamp": "Wed 2022-07-06 16:11:54 EDT", "ActiveExitTimestampMonotonic": "75678684", "ActiveState": "active", "After": "polkit.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 16:11:55 EDT", "AssertTimestampMonotonic": "76542404", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 16:11:55 EDT", "ConditionTimestampMonotonic": "76542404", "Conflicts": "ip6tables.service ebtables.service iptables.service shutdown.target ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13729", "ExecMainStartTimestamp": "Wed 2022-07-06 16:11:55 EDT", "ExecMainStartTimestampMonotonic": "76543607", "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=[Wed 2022-07-06 16:11:55 EDT] ; stop_time=[n/a] ; pid=13729 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-07-06 16:11:55 EDT", "InactiveEnterTimestampMonotonic": "76540579", "InactiveExitTimestamp": "Wed 2022-07-06 16:11:55 EDT", "InactiveExitTimestampMonotonic": "76543645", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13729", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-06 16:11:55 EDT", "WatchdogTimestampMonotonic": "76742177", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 06 July 2022 20:12:21 +0000 (0:00:00.380) 0:00:10.467 ******** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 06 July 2022 20:12:21 +0000 (0:00:00.048) 0:00:10.515 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 06 July 2022 20:12:21 +0000 (0:00:00.034) 0:00:10.549 ******** changed: [/cache/rhel-7.qcow2] => (item={'forward_port': {'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}, 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 }, "state": "enabled" } } changed: [/cache/rhel-7.qcow2] => (item={'forward_port': [{'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}], 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 } ], "state": "disabled" } } TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 06 July 2022 20:12:22 +0000 (0:00:01.041) 0:00:11.590 ******** skipping: [/cache/rhel-7.qcow2] => (item={'forward_port': {'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}, 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 }, "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item={'forward_port': [{'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}], 'state': 'disabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 } ], "state": "disabled" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 06 July 2022 20:12:22 +0000 (0:00:00.049) 0:00:11.640 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:108 Wednesday 06 July 2022 20:12:22 +0000 (0:00:00.033) 0:00:11.674 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:113 Wednesday 06 July 2022 20:12:22 +0000 (0:00:00.032) 0:00:11.707 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:124 Wednesday 06 July 2022 20:12:22 +0000 (0:00:00.032) 0:00:11.739 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:132 Wednesday 06 July 2022 20:12:22 +0000 (0:00:00.032) 0:00:11.771 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:141 Wednesday 06 July 2022 20:12:22 +0000 (0:00:00.032) 0:00:11.804 ******** skipping: [/cache/rhel-7.qcow2] => {} META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=22 changed=2 unreachable=0 failed=0 skipped=28 rescued=0 ignored=0 Wednesday 06 July 2022 20:12:22 +0000 (0:00:00.047) 0:00:11.852 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.firewall : Configure firewall ------------------------ 1.30s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- linux-system-roles.firewall : Configure firewall ------------------------ 1.04s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmp49btz53v/tests/tests_forward_port.yml:2 ------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 0.66s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Install firewalld ------------------------- 0.66s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python-firewall ------------------- 0.53s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install firewalld ------------------------- 0.50s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python-firewall ------------------- 0.49s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install python-firewall ------------------- 0.49s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install firewalld ------------------------- 0.48s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Enable and start firewalld service -------- 0.44s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.40s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.40s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.40s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.38s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- forward_port (dict) and undo -------------------------------------------- 0.09s /tmp/tmp49btz53v/tests/tests_forward_port.yml:26 ------------------------------ linux-system-roles.firewall : Check if previous replaced is defined ----- 0.05s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- linux-system-roles.firewall : gather firewall config information -------- 0.05s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 ---- linux-system-roles.firewall : Check if previous replaced is defined ----- 0.05s /tmp/tmp49btz53v/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 ----- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpy484utgm executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 06 July 2022 20:16:36 +0000 (0:00:00.017) 0:00:00.017 ******** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 20:16:38 +0000 (0:00:01.323) 0:00:01.340 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_forward_port.yml *********************************************** 1 plays in /tmp/tmp73bvww2q/tests/firewall/tests_forward_port.yml PLAY [Test forward port] ******************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp73bvww2q/tests/firewall/tests_forward_port.yml:2 Wednesday 06 July 2022 20:16:38 +0000 (0:00:00.009) 0:00:01.350 ******** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Clean slate] ************************************************************* task path: /tmp/tmp73bvww2q/tests/firewall/tests_forward_port.yml:7 Wednesday 06 July 2022 20:16:39 +0000 (0:00:00.947) 0:00:02.298 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 06 July 2022 20:16:39 +0000 (0:00:00.041) 0:00:02.339 ******** included: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 06 July 2022 20:16:39 +0000 (0:00:00.030) 0:00:02.370 ******** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 06 July 2022 20:16:39 +0000 (0:00:00.387) 0:00:02.757 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 06 July 2022 20:16:40 +0000 (0:00:00.638) 0:00:03.396 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 06 July 2022 20:16:40 +0000 (0:00:00.493) 0:00:03.890 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 06 July 2022 20:16:40 +0000 (0:00:00.031) 0:00:03.921 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-06 16:16:20 EDT", "ActiveEnterTimestampMonotonic": "78889347", "ActiveExitTimestamp": "Wed 2022-07-06 16:16:19 EDT", "ActiveExitTimestampMonotonic": "77753704", "ActiveState": "active", "After": "polkit.service dbus.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 16:16:20 EDT", "AssertTimestampMonotonic": "78679484", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 16:16:20 EDT", "ConditionTimestampMonotonic": "78679483", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13747", "ExecMainStartTimestamp": "Wed 2022-07-06 16:16:20 EDT", "ExecMainStartTimestampMonotonic": "78680817", "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=[Wed 2022-07-06 16:16:20 EDT] ; stop_time=[n/a] ; pid=13747 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-07-06 16:16:20 EDT", "InactiveEnterTimestampMonotonic": "78677640", "InactiveExitTimestamp": "Wed 2022-07-06 16:16:20 EDT", "InactiveExitTimestampMonotonic": "78680850", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13747", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-06 16:16:20 EDT", "WatchdogTimestampMonotonic": "78889283", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.651) 0:00:04.573 ******** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.047) 0:00:04.621 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.029) 0:00:04.651 ******** TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.031) 0:00:04.683 ******** TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.031) 0:00:04.715 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:100 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.036) 0:00:04.751 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:105 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.034) 0:00:04.786 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:116 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.033) 0:00:04.819 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:124 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.030) 0:00:04.850 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.030) 0:00:04.881 ******** skipping: [/cache/rhel-7.qcow2] => {} META: role_complete for /cache/rhel-7.qcow2 TASK [forward_port and undo (string)] ****************************************** task path: /tmp/tmp73bvww2q/tests/firewall/tests_forward_port.yml:16 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.038) 0:00:04.919 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.047) 0:00:04.967 ******** included: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 06 July 2022 20:16:41 +0000 (0:00:00.028) 0:00:04.996 ******** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 06 July 2022 20:16:42 +0000 (0:00:00.454) 0:00:05.450 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 06 July 2022 20:16:42 +0000 (0:00:00.482) 0:00:05.932 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 06 July 2022 20:16:43 +0000 (0:00:00.504) 0:00:06.436 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 06 July 2022 20:16:43 +0000 (0:00:00.024) 0:00:06.461 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-06 16:16:20 EDT", "ActiveEnterTimestampMonotonic": "78889347", "ActiveExitTimestamp": "Wed 2022-07-06 16:16:19 EDT", "ActiveExitTimestampMonotonic": "77753704", "ActiveState": "active", "After": "polkit.service dbus.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 16:16:20 EDT", "AssertTimestampMonotonic": "78679484", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 16:16:20 EDT", "ConditionTimestampMonotonic": "78679483", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13747", "ExecMainStartTimestamp": "Wed 2022-07-06 16:16:20 EDT", "ExecMainStartTimestampMonotonic": "78680817", "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=[Wed 2022-07-06 16:16:20 EDT] ; stop_time=[n/a] ; pid=13747 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-07-06 16:16:20 EDT", "InactiveEnterTimestampMonotonic": "78677640", "InactiveExitTimestamp": "Wed 2022-07-06 16:16:20 EDT", "InactiveExitTimestampMonotonic": "78680850", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13747", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-06 16:16:20 EDT", "WatchdogTimestampMonotonic": "78889283", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 06 July 2022 20:16:43 +0000 (0:00:00.372) 0:00:06.834 ******** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 06 July 2022 20:16:43 +0000 (0:00:00.075) 0:00:06.909 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 06 July 2022 20:16:43 +0000 (0:00:00.031) 0:00:06.941 ******** changed: [/cache/rhel-7.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "enabled" } } changed: [/cache/rhel-7.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "disabled" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 06 July 2022 20:16:44 +0000 (0:00:01.211) 0:00:08.152 ******** skipping: [/cache/rhel-7.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item={'forward_port': '40/tcp;8080;0.0.0.0', 'state': 'disabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": "40/tcp;8080;0.0.0.0", "state": "disabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 06 July 2022 20:16:45 +0000 (0:00:00.045) 0:00:08.198 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:100 Wednesday 06 July 2022 20:16:45 +0000 (0:00:00.034) 0:00:08.232 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:105 Wednesday 06 July 2022 20:16:45 +0000 (0:00:00.033) 0:00:08.266 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:116 Wednesday 06 July 2022 20:16:45 +0000 (0:00:00.032) 0:00:08.298 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:124 Wednesday 06 July 2022 20:16:45 +0000 (0:00:00.038) 0:00:08.337 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 06 July 2022 20:16:45 +0000 (0:00:00.038) 0:00:08.376 ******** skipping: [/cache/rhel-7.qcow2] => {} META: role_complete for /cache/rhel-7.qcow2 TASK [forward_port (dict) and undo] ******************************************** task path: /tmp/tmp73bvww2q/tests/firewall/tests_forward_port.yml:26 Wednesday 06 July 2022 20:16:45 +0000 (0:00:00.046) 0:00:08.422 ******** TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 06 July 2022 20:16:45 +0000 (0:00:00.048) 0:00:08.471 ******** included: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 06 July 2022 20:16:45 +0000 (0:00:00.027) 0:00:08.498 ******** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 06 July 2022 20:16:45 +0000 (0:00:00.436) 0:00:08.934 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 06 July 2022 20:16:46 +0000 (0:00:00.479) 0:00:09.414 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "python-firewall-0.6.3-13.el7_9.noarch providing python-firewall is already installed" ] } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 06 July 2022 20:16:46 +0000 (0:00:00.484) 0:00:09.898 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 06 July 2022 20:16:46 +0000 (0:00:00.025) 0:00:09.923 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2022-07-06 16:16:20 EDT", "ActiveEnterTimestampMonotonic": "78889347", "ActiveExitTimestamp": "Wed 2022-07-06 16:16:19 EDT", "ActiveExitTimestampMonotonic": "77753704", "ActiveState": "active", "After": "polkit.service dbus.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 16:16:20 EDT", "AssertTimestampMonotonic": "78679484", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 16:16:20 EDT", "ConditionTimestampMonotonic": "78679483", "Conflicts": "iptables.service ipset.service ebtables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "13747", "ExecMainStartTimestamp": "Wed 2022-07-06 16:16:20 EDT", "ExecMainStartTimestampMonotonic": "78680817", "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=[Wed 2022-07-06 16:16:20 EDT] ; stop_time=[n/a] ; pid=13747 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2022-07-06 16:16:20 EDT", "InactiveEnterTimestampMonotonic": "78677640", "InactiveExitTimestamp": "Wed 2022-07-06 16:16:20 EDT", "InactiveExitTimestampMonotonic": "78680850", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "13747", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Wed 2022-07-06 16:16:20 EDT", "WatchdogTimestampMonotonic": "78889283", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 06 July 2022 20:16:47 +0000 (0:00:00.367) 0:00:10.291 ******** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 06 July 2022 20:16:47 +0000 (0:00:00.046) 0:00:10.338 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 06 July 2022 20:16:47 +0000 (0:00:00.029) 0:00:10.367 ******** changed: [/cache/rhel-7.qcow2] => (item={'forward_port': {'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}, 'state': 'enabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 }, "state": "enabled" } } changed: [/cache/rhel-7.qcow2] => (item={'forward_port': [{'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}], 'state': 'disabled'}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "forward_port": [ { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 } ], "state": "disabled" } } TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 06 July 2022 20:16:48 +0000 (0:00:01.060) 0:00:11.428 ******** skipping: [/cache/rhel-7.qcow2] => (item={'forward_port': {'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}, 'state': 'enabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 }, "state": "enabled" }, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item={'forward_port': [{'port': 40, 'proto': 'tcp', 'toport': 8080, 'toaddr': '0.0.0.0'}], 'state': 'disabled'}) => { "ansible_loop_var": "item", "changed": false, "item": { "forward_port": [ { "port": 40, "proto": "tcp", "toaddr": "0.0.0.0", "toport": 8080 } ], "state": "disabled" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 06 July 2022 20:16:48 +0000 (0:00:00.048) 0:00:11.476 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:100 Wednesday 06 July 2022 20:16:48 +0000 (0:00:00.035) 0:00:11.511 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:105 Wednesday 06 July 2022 20:16:48 +0000 (0:00:00.032) 0:00:11.544 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:116 Wednesday 06 July 2022 20:16:48 +0000 (0:00:00.034) 0:00:11.579 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:124 Wednesday 06 July 2022 20:16:48 +0000 (0:00:00.034) 0:00:11.613 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Wednesday 06 July 2022 20:16:48 +0000 (0:00:00.033) 0:00:11.647 ******** skipping: [/cache/rhel-7.qcow2] => {} META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=22 changed=2 unreachable=0 failed=0 skipped=28 rescued=0 ignored=0 Wednesday 06 July 2022 20:16:48 +0000 (0:00:00.046) 0:00:11.694 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.21s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.06s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmp73bvww2q/tests/firewall/tests_forward_port.yml:2 ---------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.65s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.64s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python-firewall ------------ 0.50s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 fedora.linux_system_roles.firewall : Install python-firewall ------------ 0.49s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 fedora.linux_system_roles.firewall : Install python-firewall ------------ 0.48s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.48s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.48s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.45s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.44s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.39s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.37s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.37s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.08s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 forward_port (dict) and undo -------------------------------------------- 0.05s /tmp/tmp73bvww2q/tests/firewall/tests_forward_port.yml:26 --------------------- fedora.linux_system_roles.firewall : gather firewall config information --- 0.05s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.05s /tmp/tmpy484utgm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9