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/tmp55oybpn0 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 Thursday 07 July 2022 20:59:44 +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 Thursday 07 July 2022 20:59:46 +0000 (0:00:01.342) 0:00:01.360 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_target.yml ***************************************************** 1 plays in /tmp/tmpgdttoufd/tests/tests_target.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgdttoufd/tests/tests_target.yml:1 Thursday 07 July 2022 20:59:46 +0000 (0:00:00.032) 0:00:01.392 ********* ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /tmp/tmpgdttoufd/tests/tests_target.yml:5 Thursday 07 July 2022 20:59:47 +0000 (0:00:00.919) 0:00:02.312 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 07 July 2022 20:59:47 +0000 (0:00:00.035) 0:00:02.348 ********* included: /tmp/tmpgdttoufd/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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 07 July 2022 20:59:47 +0000 (0:00:00.028) 0:00:02.377 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 07 July 2022 20:59:47 +0000 (0:00:00.378) 0:00:02.756 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 07 July 2022 20:59:48 +0000 (0:00:00.634) 0:00:03.390 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 07 July 2022 20:59:48 +0000 (0:00:00.486) 0:00:03.876 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 07 July 2022 20:59:48 +0000 (0:00:00.024) 0:00:03.901 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 16:59:02 EDT", "ActiveEnterTimestampMonotonic": "146718436", "ActiveExitTimestamp": "Thu 2022-07-07 16:59:01 EDT", "ActiveExitTimestampMonotonic": "145757551", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 16:59:01 EDT", "AssertTimestampMonotonic": "146521102", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-07 16:59:01 EDT", "ConditionTimestampMonotonic": "146521102", "Conflicts": "ebtables.service ip6tables.service ipset.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "21865", "ExecMainStartTimestamp": "Thu 2022-07-07 16:59:01 EDT", "ExecMainStartTimestampMonotonic": "146522023", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-07-07 16:59:01 EDT] ; stop_time=[n/a] ; pid=21865 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-07 16:59:01 EDT", "InactiveEnterTimestampMonotonic": "146520427", "InactiveExitTimestamp": "Thu 2022-07-07 16:59:01 EDT", "InactiveExitTimestampMonotonic": "146522063", "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": "21865", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-07 16:59:02 EDT", "WatchdogTimestampMonotonic": "146718370", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 07 July 2022 20:59:49 +0000 (0:00:00.621) 0:00:04.523 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 07 July 2022 20:59:49 +0000 (0:00:00.047) 0:00:04.570 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 07 July 2022 20:59:49 +0000 (0:00:00.031) 0:00:04.602 ********* ok: [/cache/rhel-7.qcow2] => (item={'set_default_zone': 'public', 'permanent': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public" } } changed: [/cache/rhel-7.qcow2] => (item={'target': 'DROP', 'state': 'enabled', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "enabled", "target": "DROP" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Thursday 07 July 2022 20:59:50 +0000 (0:00:01.344) 0:00:05.947 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Thursday 07 July 2022 20:59:50 +0000 (0:00:00.032) 0:00:05.980 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Thursday 07 July 2022 20:59:50 +0000 (0:00:00.031) 0:00:06.011 ********* skipping: [/cache/rhel-7.qcow2] => {} META: role_complete for /cache/rhel-7.qcow2 TASK [Get target setting] ****************************************************** task path: /tmp/tmpgdttoufd/tests/tests_target.yml:16 Thursday 07 July 2022 20:59:51 +0000 (0:00:00.038) 0:00:06.050 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.258037", "end": "2022-07-07 16:59:51.733312", "rc": 0, "start": "2022-07-07 16:59:51.475275" } STDOUT: public (active) target: DROP icmp-block-inversion: no interfaces: eth0 sources: services: dhcpv6-client ssh ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting] *************************************************** task path: /tmp/tmpgdttoufd/tests/tests_target.yml:21 Thursday 07 July 2022 20:59:51 +0000 (0:00:00.655) 0:00:06.706 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /tmp/tmpgdttoufd/tests/tests_target.yml:27 Thursday 07 July 2022 20:59:51 +0000 (0:00:00.039) 0:00:06.745 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 07 July 2022 20:59:51 +0000 (0:00:00.040) 0:00:06.785 ********* included: /tmp/tmpgdttoufd/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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 07 July 2022 20:59:51 +0000 (0:00:00.028) 0:00:06.814 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 07 July 2022 20:59:52 +0000 (0:00:00.431) 0:00:07.246 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 07 July 2022 20:59:52 +0000 (0:00:00.498) 0:00:07.745 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 07 July 2022 20:59:53 +0000 (0:00:00.514) 0:00:08.259 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 07 July 2022 20:59:53 +0000 (0:00:00.026) 0:00:08.285 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 16:59:02 EDT", "ActiveEnterTimestampMonotonic": "146718436", "ActiveExitTimestamp": "Thu 2022-07-07 16:59:01 EDT", "ActiveExitTimestampMonotonic": "145757551", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 16:59:01 EDT", "AssertTimestampMonotonic": "146521102", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-07 16:59:01 EDT", "ConditionTimestampMonotonic": "146521102", "Conflicts": "ebtables.service ip6tables.service ipset.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "21865", "ExecMainStartTimestamp": "Thu 2022-07-07 16:59:01 EDT", "ExecMainStartTimestampMonotonic": "146522023", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-07-07 16:59:01 EDT] ; stop_time=[n/a] ; pid=21865 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-07 16:59:01 EDT", "InactiveEnterTimestampMonotonic": "146520427", "InactiveExitTimestamp": "Thu 2022-07-07 16:59:01 EDT", "InactiveExitTimestampMonotonic": "146522063", "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": "21865", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-07 16:59:02 EDT", "WatchdogTimestampMonotonic": "146718370", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 07 July 2022 20:59:53 +0000 (0:00:00.380) 0:00:08.666 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 07 July 2022 20:59:53 +0000 (0:00:00.072) 0:00:08.739 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 07 July 2022 20:59:53 +0000 (0:00:00.031) 0:00:08.771 ********* changed: [/cache/rhel-7.qcow2] => (item={'target': 'DROP', 'state': 'absent', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "absent", "target": "DROP" } } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Thursday 07 July 2022 20:59:54 +0000 (0:00:00.767) 0:00:09.538 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Thursday 07 July 2022 20:59:54 +0000 (0:00:00.032) 0:00:09.571 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Thursday 07 July 2022 20:59:54 +0000 (0:00:00.030) 0:00:09.601 ********* skipping: [/cache/rhel-7.qcow2] => {} META: role_complete for /cache/rhel-7.qcow2 TASK [Get target setting] ****************************************************** task path: /tmp/tmpgdttoufd/tests/tests_target.yml:36 Thursday 07 July 2022 20:59:54 +0000 (0:00:00.037) 0:00:09.639 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.257681", "end": "2022-07-07 16:59:55.237109", "rc": 0, "start": "2022-07-07 16:59:54.979428" } STDOUT: public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: dhcpv6-client ssh ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting was reset] ***************************************** task path: /tmp/tmpgdttoufd/tests/tests_target.yml:41 Thursday 07 July 2022 20:59:55 +0000 (0:00:00.568) 0:00:10.208 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/tmpgdttoufd/tests/tests_target.yml:47 Thursday 07 July 2022 20:59:55 +0000 (0:00:00.059) 0:00:10.267 ********* TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 07 July 2022 20:59:55 +0000 (0:00:00.067) 0:00:10.335 ********* included: /tmp/tmpgdttoufd/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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 07 July 2022 20:59:55 +0000 (0:00:00.026) 0:00:10.362 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 07 July 2022 20:59:55 +0000 (0:00:00.413) 0:00:10.775 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 07 July 2022 20:59:56 +0000 (0:00:00.484) 0:00:11.259 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 07 July 2022 20:59:56 +0000 (0:00:00.474) 0:00:11.734 ********* 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/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 07 July 2022 20:59:56 +0000 (0:00:00.026) 0:00:11.760 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 16:59:02 EDT", "ActiveEnterTimestampMonotonic": "146718436", "ActiveExitTimestamp": "Thu 2022-07-07 16:59:01 EDT", "ActiveExitTimestampMonotonic": "145757551", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 16:59:01 EDT", "AssertTimestampMonotonic": "146521102", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-07 16:59:01 EDT", "ConditionTimestampMonotonic": "146521102", "Conflicts": "ebtables.service ip6tables.service ipset.service shutdown.target iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "21865", "ExecMainStartTimestamp": "Thu 2022-07-07 16:59:01 EDT", "ExecMainStartTimestampMonotonic": "146522023", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-07-07 16:59:01 EDT] ; stop_time=[n/a] ; pid=21865 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-07 16:59:01 EDT", "InactiveEnterTimestampMonotonic": "146520427", "InactiveExitTimestamp": "Thu 2022-07-07 16:59:01 EDT", "InactiveExitTimestampMonotonic": "146522063", "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": "21865", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-07 16:59:02 EDT", "WatchdogTimestampMonotonic": "146718370", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 07 July 2022 20:59:57 +0000 (0:00:00.365) 0:00:12.126 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 07 July 2022 20:59:57 +0000 (0:00:00.045) 0:00:12.171 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0 } STDOUT: /etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8) 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml 94ab11c4e18dab5f883072983452331155deff3e66417f85d5272fd296284857 /etc/firewalld/services/http.xml STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 07 July 2022 20:59:58 +0000 (0:00:01.231) 0:00:13.403 ********* TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 Thursday 07 July 2022 20:59:58 +0000 (0:00:00.034) 0:00:13.438 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0 } STDOUT: /etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8) STDERR: Shared connection to 127.0.0.3 closed. TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:85 Thursday 07 July 2022 20:59:58 +0000 (0:00:00.237) 0:00:13.676 ********* changed: [/cache/rhel-7.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:94 Thursday 07 July 2022 20:59:58 +0000 (0:00:00.045) 0:00:13.721 ********* 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=29 changed=3 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Thursday 07 July 2022 20:59:58 +0000 (0:00:00.047) 0:00:13.769 ********* =============================================================================== linux-system-roles.firewall : Configure firewall ------------------------ 1.34s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- set up internal repositories -------------------------------------------- 1.34s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.firewall : Get config files, checksums before and remove --- 1.23s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 ---- Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmpgdttoufd/tests/tests_target.yml:1 ------------------------------------- linux-system-roles.firewall : Configure firewall ------------------------ 0.77s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 ---- Get target setting ------------------------------------------------------ 0.66s /tmp/tmpgdttoufd/tests/tests_target.yml:16 ------------------------------------ linux-system-roles.firewall : Install firewalld ------------------------- 0.63s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Enable and start firewalld service -------- 0.62s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Get target setting ------------------------------------------------------ 0.57s /tmp/tmpgdttoufd/tests/tests_target.yml:36 ------------------------------------ linux-system-roles.firewall : Install python-firewall ------------------- 0.51s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install firewalld ------------------------- 0.50s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python-firewall ------------------- 0.49s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Install firewalld ------------------------- 0.48s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python-firewall ------------------- 0.47s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.43s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.41s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.38s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Ensure ansible_facts used by role --------- 0.38s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 linux-system-roles.firewall : Enable and start firewalld service -------- 0.37s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- linux-system-roles.firewall : Get config files, checksums after --------- 0.24s /tmp/tmpgdttoufd/tests/roles/linux-system-roles.firewall/tasks/main.yml:77 ---- 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/tmp55oybpn0 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 Thursday 07 July 2022 21:03:38 +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 Thursday 07 July 2022 21:03:39 +0000 (0:00:01.287) 0:00:01.304 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.29s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_target.yml ***************************************************** 1 plays in /tmp/tmpqeagm4x3/tests/firewall/tests_target.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpqeagm4x3/tests/firewall/tests_target.yml:1 Thursday 07 July 2022 21:03:39 +0000 (0:00:00.011) 0:00:01.315 ********* ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [Call role to change target settings] ************************************* task path: /tmp/tmpqeagm4x3/tests/firewall/tests_target.yml:5 Thursday 07 July 2022 21:03:40 +0000 (0:00:00.955) 0:00:02.271 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 07 July 2022 21:03:40 +0000 (0:00:00.037) 0:00:02.308 ********* included: /tmp/tmp55oybpn0/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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 07 July 2022 21:03:40 +0000 (0:00:00.029) 0:00:02.338 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 07 July 2022 21:03:41 +0000 (0:00:00.374) 0:00:02.712 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 07 July 2022 21:03:41 +0000 (0:00:00.630) 0:00:03.342 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 07 July 2022 21:03:42 +0000 (0:00:00.474) 0:00:03.817 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 07 July 2022 21:03:42 +0000 (0:00:00.023) 0:00:03.841 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 17:02:55 EDT", "ActiveEnterTimestampMonotonic": "145731115", "ActiveExitTimestamp": "Thu 2022-07-07 17:02:54 EDT", "ActiveExitTimestampMonotonic": "144787842", "ActiveState": "active", "After": "polkit.service dbus.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 17:02:55 EDT", "AssertTimestampMonotonic": "145542668", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-07 17:02:55 EDT", "ConditionTimestampMonotonic": "145542668", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service 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": "21865", "ExecMainStartTimestamp": "Thu 2022-07-07 17:02:55 EDT", "ExecMainStartTimestampMonotonic": "145543641", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-07-07 17:02:55 EDT] ; stop_time=[n/a] ; pid=21865 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-07 17:02:55 EDT", "InactiveEnterTimestampMonotonic": "145541535", "InactiveExitTimestamp": "Thu 2022-07-07 17:02:55 EDT", "InactiveExitTimestampMonotonic": "145543682", "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": "21865", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-07 17:02:55 EDT", "WatchdogTimestampMonotonic": "145731062", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 07 July 2022 21:03:43 +0000 (0:00:00.623) 0:00:04.464 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 07 July 2022 21:03:43 +0000 (0:00:00.045) 0:00:04.509 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 07 July 2022 21:03:43 +0000 (0:00:00.029) 0:00:04.539 ********* ok: [/cache/rhel-7.qcow2] => (item={'set_default_zone': 'public', 'permanent': True}) => { "__firewall_changed": false, "ansible_loop_var": "item", "changed": false, "item": { "permanent": true, "set_default_zone": "public" } } changed: [/cache/rhel-7.qcow2] => (item={'target': 'DROP', 'state': 'enabled', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "enabled", "target": "DROP" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 07 July 2022 21:03:44 +0000 (0:00:01.313) 0:00:05.852 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 07 July 2022 21:03:44 +0000 (0:00:00.029) 0:00:05.882 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 07 July 2022 21:03:44 +0000 (0:00:00.029) 0:00:05.912 ********* skipping: [/cache/rhel-7.qcow2] => {} META: role_complete for /cache/rhel-7.qcow2 TASK [Get target setting] ****************************************************** task path: /tmp/tmpqeagm4x3/tests/firewall/tests_target.yml:16 Thursday 07 July 2022 21:03:44 +0000 (0:00:00.036) 0:00:05.948 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.242210", "end": "2022-07-07 17:03:44.334540", "rc": 0, "start": "2022-07-07 17:03:44.092330" } STDOUT: public (active) target: DROP icmp-block-inversion: no interfaces: eth0 sources: services: dhcpv6-client ssh ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting] *************************************************** task path: /tmp/tmpqeagm4x3/tests/firewall/tests_target.yml:21 Thursday 07 July 2022 21:03:45 +0000 (0:00:00.656) 0:00:06.604 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Call role to reset target settings] ************************************** task path: /tmp/tmpqeagm4x3/tests/firewall/tests_target.yml:27 Thursday 07 July 2022 21:03:45 +0000 (0:00:00.031) 0:00:06.636 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 07 July 2022 21:03:45 +0000 (0:00:00.039) 0:00:06.676 ********* included: /tmp/tmp55oybpn0/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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 07 July 2022 21:03:45 +0000 (0:00:00.026) 0:00:06.703 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 07 July 2022 21:03:45 +0000 (0:00:00.378) 0:00:07.082 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 07 July 2022 21:03:46 +0000 (0:00:00.456) 0:00:07.539 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 07 July 2022 21:03:46 +0000 (0:00:00.508) 0:00:08.047 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 07 July 2022 21:03:46 +0000 (0:00:00.027) 0:00:08.074 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 17:02:55 EDT", "ActiveEnterTimestampMonotonic": "145731115", "ActiveExitTimestamp": "Thu 2022-07-07 17:02:54 EDT", "ActiveExitTimestampMonotonic": "144787842", "ActiveState": "active", "After": "polkit.service dbus.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 17:02:55 EDT", "AssertTimestampMonotonic": "145542668", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-07 17:02:55 EDT", "ConditionTimestampMonotonic": "145542668", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service 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": "21865", "ExecMainStartTimestamp": "Thu 2022-07-07 17:02:55 EDT", "ExecMainStartTimestampMonotonic": "145543641", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-07-07 17:02:55 EDT] ; stop_time=[n/a] ; pid=21865 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-07 17:02:55 EDT", "InactiveEnterTimestampMonotonic": "145541535", "InactiveExitTimestamp": "Thu 2022-07-07 17:02:55 EDT", "InactiveExitTimestampMonotonic": "145543682", "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": "21865", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-07 17:02:55 EDT", "WatchdogTimestampMonotonic": "145731062", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 07 July 2022 21:03:47 +0000 (0:00:00.370) 0:00:08.445 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 07 July 2022 21:03:47 +0000 (0:00:00.080) 0:00:08.525 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 07 July 2022 21:03:47 +0000 (0:00:00.033) 0:00:08.558 ********* changed: [/cache/rhel-7.qcow2] => (item={'target': 'DROP', 'state': 'absent', 'permanent': True}) => { "__firewall_changed": true, "ansible_loop_var": "item", "changed": true, "item": { "permanent": true, "state": "absent", "target": "DROP" } } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 07 July 2022 21:03:47 +0000 (0:00:00.718) 0:00:09.277 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 07 July 2022 21:03:47 +0000 (0:00:00.031) 0:00:09.308 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 07 July 2022 21:03:47 +0000 (0:00:00.029) 0:00:09.338 ********* skipping: [/cache/rhel-7.qcow2] => {} META: role_complete for /cache/rhel-7.qcow2 TASK [Get target setting] ****************************************************** task path: /tmp/tmpqeagm4x3/tests/firewall/tests_target.yml:36 Thursday 07 July 2022 21:03:48 +0000 (0:00:00.036) 0:00:09.375 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "firewall-cmd", "--info-zone=public" ], "delta": "0:00:00.253147", "end": "2022-07-07 17:03:47.633737", "rc": 0, "start": "2022-07-07 17:03:47.380590" } STDOUT: public (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: dhcpv6-client ssh ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: TASK [Verify target setting was reset] ***************************************** task path: /tmp/tmpqeagm4x3/tests/firewall/tests_target.yml:41 Thursday 07 July 2022 21:03:48 +0000 (0:00:00.531) 0:00:09.906 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/tmpqeagm4x3/tests/firewall/tests_target.yml:47 Thursday 07 July 2022 21:03:48 +0000 (0:00:00.058) 0:00:09.964 ********* TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 07 July 2022 21:03:48 +0000 (0:00:00.041) 0:00:10.006 ********* included: /tmp/tmp55oybpn0/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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 07 July 2022 21:03:48 +0000 (0:00:00.029) 0:00:10.035 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 07 July 2022 21:03:49 +0000 (0:00:00.421) 0:00:10.457 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 07 July 2022 21:03:49 +0000 (0:00:00.461) 0:00:10.918 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 07 July 2022 21:03:50 +0000 (0:00:00.468) 0:00:11.387 ********* 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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 07 July 2022 21:03:50 +0000 (0:00:00.026) 0:00:11.413 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 17:02:55 EDT", "ActiveEnterTimestampMonotonic": "145731115", "ActiveExitTimestamp": "Thu 2022-07-07 17:02:54 EDT", "ActiveExitTimestampMonotonic": "144787842", "ActiveState": "active", "After": "polkit.service dbus.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 17:02:55 EDT", "AssertTimestampMonotonic": "145542668", "Before": "shutdown.target network-pre.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-07 17:02:55 EDT", "ConditionTimestampMonotonic": "145542668", "Conflicts": "iptables.service shutdown.target ip6tables.service ebtables.service 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": "21865", "ExecMainStartTimestamp": "Thu 2022-07-07 17:02:55 EDT", "ExecMainStartTimestampMonotonic": "145543641", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[Thu 2022-07-07 17:02:55 EDT] ; stop_time=[n/a] ; pid=21865 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2022-07-07 17:02:55 EDT", "InactiveEnterTimestampMonotonic": "145541535", "InactiveExitTimestamp": "Thu 2022-07-07 17:02:55 EDT", "InactiveExitTimestampMonotonic": "145543682", "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": "21865", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2022-07-07 17:02:55 EDT", "WatchdogTimestampMonotonic": "145731062", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 07 July 2022 21:03:50 +0000 (0:00:00.379) 0:00:11.793 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 07 July 2022 21:03:50 +0000 (0:00:00.047) 0:00:11.840 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0 } STDOUT: /etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8) 1fbd6fcd1ca29e4438f7c982e2b9d595a93b93c1f9bdfbbf18745493df02e13e /etc/firewalld/zones/public.xml 94ab11c4e18dab5f883072983452331155deff3e66417f85d5272fd296284857 /etc/firewalld/services/http.xml STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 07 July 2022 21:03:51 +0000 (0:00:01.161) 0:00:13.002 ********* TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Thursday 07 July 2022 21:03:51 +0000 (0:00:00.034) 0:00:13.037 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0 } STDOUT: /etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8) STDERR: Shared connection to 127.0.0.3 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:79 Thursday 07 July 2022 21:03:51 +0000 (0:00:00.201) 0:00:13.238 ********* changed: [/cache/rhel-7.qcow2] => { "ansible_facts": { "firewall_lib_result": { "changed": true } }, "changed": true } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:85 Thursday 07 July 2022 21:03:51 +0000 (0:00:00.045) 0:00:13.283 ********* 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=29 changed=3 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Thursday 07 July 2022 21:03:51 +0000 (0:00:00.047) 0:00:13.331 ********* =============================================================================== fedora.linux_system_roles.firewall : Configure firewall ----------------- 1.31s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 set up internal repositories -------------------------------------------- 1.29s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.firewall : Get config files, checksums before and remove --- 1.16s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmpqeagm4x3/tests/firewall/tests_target.yml:1 ---------------------------- fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.72s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Get target setting ------------------------------------------------------ 0.66s /tmp/tmpqeagm4x3/tests/firewall/tests_target.yml:16 --------------------------- fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.63s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.62s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Get target setting ------------------------------------------------------ 0.53s /tmp/tmpqeagm4x3/tests/firewall/tests_target.yml:36 --------------------------- fedora.linux_system_roles.firewall : Install python-firewall ------------ 0.51s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 fedora.linux_system_roles.firewall : Install python-firewall ------------ 0.47s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 fedora.linux_system_roles.firewall : Install python-firewall ------------ 0.47s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.46s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.46s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.42s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.38s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.38s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 fedora.linux_system_roles.firewall : Ensure ansible_facts used by role --- 0.37s /tmp/tmp55oybpn0/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/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 fedora.linux_system_roles.firewall : Get config files, checksums after --- 0.20s /tmp/tmp55oybpn0/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71