ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_interface_pci.yml ********************************************** 1 plays in /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml PLAY [Test interfaces with PCI ids] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Thursday 31 July 2025 17:11:56 -0400 (0:00:00.029) 0:00:00.029 ********* ok: [managed-node1] META: ran handlers TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Thursday 31 July 2025 17:11:57 -0400 (0:00:00.838) 0:00:00.868 ********* included: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 31 July 2025 17:11:57 -0400 (0:00:00.035) 0:00:00.903 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Thursday 31 July 2025 17:11:57 -0400 (0:00:00.041) 0:00:00.945 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Thursday 31 July 2025 17:11:58 -0400 (0:00:00.409) 0:00:01.355 ********* ok: [managed-node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Thursday 31 July 2025 17:11:58 -0400 (0:00:00.087) 0:00:01.443 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Thursday 31 July 2025 17:11:58 -0400 (0:00:00.395) 0:00:01.839 ********* ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Run systemctl] ********************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 Thursday 31 July 2025 17:11:58 -0400 (0:00:00.069) 0:00:01.908 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008877", "end": "2025-07-31 17:11:59.279637", "failed_when_result": false, "rc": 0, "start": "2025-07-31 17:11:59.270760" } STDOUT: running TASK [fedora.linux_system_roles.firewall : Require installed systemd] ********** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 Thursday 31 July 2025 17:11:59 -0400 (0:00:00.491) 0:00:02.399 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 Thursday 31 July 2025 17:11:59 -0400 (0:00:00.068) 0:00:02.468 ********* ok: [managed-node1] => { "ansible_facts": { "__firewall_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 Thursday 31 July 2025 17:11:59 -0400 (0:00:00.066) 0:00:02.534 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:63 Thursday 31 July 2025 17:12:00 -0400 (0:00:00.753) 0:00:03.288 ********* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:68 Thursday 31 July 2025 17:12:00 -0400 (0:00:00.062) 0:00:03.350 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:73 Thursday 31 July 2025 17:12:00 -0400 (0:00:00.049) 0:00:03.400 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check which conflicting services are enabled] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Thursday 31 July 2025 17:12:00 -0400 (0:00:00.058) 0:00:03.458 ********* skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 31 July 2025 17:12:00 -0400 (0:00:00.101) 0:00:03.560 ********* skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'nftables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'iptables', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'skip_reason': u'Conditional result was False', u'item': u'ufw', u'skipped': True, u'ansible_loop_var': u'item', u'changed': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 Thursday 31 July 2025 17:12:00 -0400 (0:00:00.076) 0:00:03.636 ********* ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2025-07-31 17:10:57 EDT", "ActiveEnterTimestampMonotonic": "393335427", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-07-31 17:10:57 EDT", "AssertTimestampMonotonic": "393091888", "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": "Thu 2025-07-31 17:10:57 EDT", "ConditionTimestampMonotonic": "393091887", "Conflicts": "ip6tables.service ipset.service shutdown.target ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9670", "ExecMainStartTimestamp": "Thu 2025-07-31 17:10:57 EDT", "ExecMainStartTimestampMonotonic": "393092931", "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 2025-07-31 17:10:57 EDT] ; stop_time=[n/a] ; pid=9670 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2025-07-31 17:10:57 EDT", "InactiveExitTimestampMonotonic": "393092965", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9670", "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": "Thu 2025-07-31 17:10:57 EDT", "WatchdogTimestampMonotonic": "393335374", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 Thursday 31 July 2025 17:12:01 -0400 (0:00:00.721) 0:00:04.358 ********* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-07-31 17:10:57 EDT", "ActiveEnterTimestampMonotonic": "393335427", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-07-31 17:10:57 EDT", "AssertTimestampMonotonic": "393091888", "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": "Thu 2025-07-31 17:10:57 EDT", "ConditionTimestampMonotonic": "393091887", "Conflicts": "ip6tables.service ipset.service shutdown.target ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9670", "ExecMainStartTimestamp": "Thu 2025-07-31 17:10:57 EDT", "ExecMainStartTimestampMonotonic": "393092931", "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 2025-07-31 17:10:57 EDT] ; stop_time=[n/a] ; pid=9670 ; 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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2025-07-31 17:10:57 EDT", "InactiveExitTimestampMonotonic": "393092965", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9670", "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": "Thu 2025-07-31 17:10:57 EDT", "WatchdogTimestampMonotonic": "393335374", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 31 July 2025 17:12:01 -0400 (0:00:00.456) 0:00:04.814 ********* ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:45 Thursday 31 July 2025 17:12:01 -0400 (0:00:00.069) 0:00:04.884 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:58 Thursday 31 July 2025 17:12:01 -0400 (0:00:00.062) 0:00:04.946 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74 Thursday 31 July 2025 17:12:01 -0400 (0:00:00.063) 0:00:05.010 ********* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:126 Thursday 31 July 2025 17:12:02 -0400 (0:00:00.065) 0:00:05.076 ********* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:137 Thursday 31 July 2025 17:12:02 -0400 (0:00:00.048) 0:00:05.125 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 Thursday 31 July 2025 17:12:02 -0400 (0:00:00.065) 0:00:05.190 ********* ok: [managed-node1] => { "changed": false, "firewall_config": { "custom": { "services": { "customservice": { "description": "Custom Service that does not do a single thing", "modules": [], "protocols": [ "ipv6" ], "short": "Custom service", "source_ports": [ [ "333", "tcp" ] ], "version": "" } }, "zones": { "dmz": { "description": "For computers in your demilitarized zone that are publicly-accessible with limited access to your internal network. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh" ], "short": "DMZ", "source_ports": [], "sources": [], "target": "default", "version": "" }, "public": { "description": "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "snmp", "amanda", "ftp", "proto-gre", "h323", "irc", "pptp", "sane", "netbios-ns", "RAS", "Q.931", "sip", "tftp" ], "icmptypes": [ "redirect", "failed-policy", "precedence-cutoff", "bad-header", "required-option-missing", "tos-host-unreachable", "host-unknown", "time-exceeded", "port-unreachable", "tos-network-unreachable", "parameter-problem", "tos-host-redirect", "destination-unreachable", "no-route", "fragmentation-needed", "unknown-option", "address-unreachable", "echo-reply", "host-unreachable", "ttl-zero-during-reassembly", "router-advertisement", "network-prohibited", "source-quench", "communication-prohibited", "protocol-unreachable", "router-solicitation", "network-unreachable", "network-unknown", "host-redirect", "timestamp-reply", "packet-too-big", "timestamp-request", "neighbour-solicitation", "tos-network-redirect", "ttl-zero-during-transit", "network-redirect", "host-prohibited", "reject-route", "ip-header-bad", "unknown-header-type", "echo-request", "source-route-failed", "host-precedence-violation", "neighbour-advertisement", "beyond-scope" ], "services": [ "rsh", "kprop", "pmwebapis", "libvirt", "snmp", "kpasswd", "pop3s", "imap", "jenkins", "dropbox-lansync", "docker-registry", "etcd-client", "mongodb", "tor-socks", "samba-dc", "vdsm", "ganglia-master", "iscsi-target", "proxy-dhcp", "high-availability", "RH-Satellite-6-capsule", "condor-collector", "ftp", "kibana", "freeipa-ldaps", "freeipa-ldap", "smtp-submission", "kshell", "amqps", "libvirt-tls", "nfs3", "ptp", "bitcoin-testnet-rpc", "managesieve", "mssql", "xmpp-local", "synergy", "bacula", "mqtt", "amanda-k5-client", "ipp-client", "matrix", "ntp", "amanda-client", "nut", "bitcoin", "privoxy", "RH-Satellite-6", "syncthing", "mountd", "distcc", "postgresql", "nrpe", "svdrp", "wbem-https", "bgp", "pmproxy", "murmur", "etcd-server", "mqtt-tls", "sips", "irc", "bitcoin-testnet", "apcupsd", "tinc", "kerberos", "radius", "transmission-client", "pmwebapi", "ovirt-vmconsole", "steam-streaming", "isns", "dhcpv6", "lightning-network", "git", "rtsp", "squid", "openvpn", "smtps", "cfengine", "zabbix-agent", "samba-client", "rsyncd", "ovirt-storageconsole", "ircs", "llmnr", "gre", "ldaps", "xmpp-client", "dhcp", "xmpp-server", "sane", "vnc-server", "ceph", "freeipa-replication", "dns", "docker-swarm", "mosh", "xmpp-bosh", "klogin", "slp", "snmptrap", "upnp-client", "ceph-mon", "samba", "rpc-bind", "salt-master", "wsmans", "bitcoin-rpc", "minidlna", "tftp-client", "freeipa-trust", "syslog-tls", "ipsec", "dhcpv6-client", "telnet", "https", "audit", "ssh", "pop3", "nmea-0183", "zabbix-server", "wsman", "xdmcp", "puppetmaster", "finger", "ipp", "ms-wbt", "syncthing-gui", "redis", "syslog", "ganglia-client", "ovirt-imageio", "pmcd", "ldap", "nfs", "kadmin", "sip", "ctdb", "spideroak-lansync", "amqp", "mdns", "http", "quassel", "imaps", "mysql", "elasticsearch", "bacula-client", "smtp", "tftp", "svn", "plex", "wbem-http", "pulseaudio" ], "zones": [ "block", "internal", "drop", "public", "work", "trusted", "external", "home", "dmz" ] }, "default_zone": "public" } } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 Thursday 31 July 2025 17:12:02 -0400 (0:00:00.740) 0:00:05.931 ********* ok: [managed-node1] => { "ansible_facts": { "firewall_config": { "custom": { "services": { "customservice": { "description": "Custom Service that does not do a single thing", "modules": [], "protocols": [ "ipv6" ], "short": "Custom service", "source_ports": [ [ "333", "tcp" ] ], "version": "" } }, "zones": { "dmz": { "description": "For computers in your demilitarized zone that are publicly-accessible with limited access to your internal network. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh" ], "short": "DMZ", "source_ports": [], "sources": [], "target": "default", "version": "" }, "public": { "description": "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "snmp", "amanda", "ftp", "proto-gre", "h323", "irc", "pptp", "sane", "netbios-ns", "RAS", "Q.931", "sip", "tftp" ], "icmptypes": [ "redirect", "failed-policy", "precedence-cutoff", "bad-header", "required-option-missing", "tos-host-unreachable", "host-unknown", "time-exceeded", "port-unreachable", "tos-network-unreachable", "parameter-problem", "tos-host-redirect", "destination-unreachable", "no-route", "fragmentation-needed", "unknown-option", "address-unreachable", "echo-reply", "host-unreachable", "ttl-zero-during-reassembly", "router-advertisement", "network-prohibited", "source-quench", "communication-prohibited", "protocol-unreachable", "router-solicitation", "network-unreachable", "network-unknown", "host-redirect", "timestamp-reply", "packet-too-big", "timestamp-request", "neighbour-solicitation", "tos-network-redirect", "ttl-zero-during-transit", "network-redirect", "host-prohibited", "reject-route", "ip-header-bad", "unknown-header-type", "echo-request", "source-route-failed", "host-precedence-violation", "neighbour-advertisement", "beyond-scope" ], "services": [ "rsh", "kprop", "pmwebapis", "libvirt", "snmp", "kpasswd", "pop3s", "imap", "jenkins", "dropbox-lansync", "docker-registry", "etcd-client", "mongodb", "tor-socks", "samba-dc", "vdsm", "ganglia-master", "iscsi-target", "proxy-dhcp", "high-availability", "RH-Satellite-6-capsule", "condor-collector", "ftp", "kibana", "freeipa-ldaps", "freeipa-ldap", "smtp-submission", "kshell", "amqps", "libvirt-tls", "nfs3", "ptp", "bitcoin-testnet-rpc", "managesieve", "mssql", "xmpp-local", "synergy", "bacula", "mqtt", "amanda-k5-client", "ipp-client", "matrix", "ntp", "amanda-client", "nut", "bitcoin", "privoxy", "RH-Satellite-6", "syncthing", "mountd", "distcc", "postgresql", "nrpe", "svdrp", "wbem-https", "bgp", "pmproxy", "murmur", "etcd-server", "mqtt-tls", "sips", "irc", "bitcoin-testnet", "apcupsd", "tinc", "kerberos", "radius", "transmission-client", "pmwebapi", "ovirt-vmconsole", "steam-streaming", "isns", "dhcpv6", "lightning-network", "git", "rtsp", "squid", "openvpn", "smtps", "cfengine", "zabbix-agent", "samba-client", "rsyncd", "ovirt-storageconsole", "ircs", "llmnr", "gre", "ldaps", "xmpp-client", "dhcp", "xmpp-server", "sane", "vnc-server", "ceph", "freeipa-replication", "dns", "docker-swarm", "mosh", "xmpp-bosh", "klogin", "slp", "snmptrap", "upnp-client", "ceph-mon", "samba", "rpc-bind", "salt-master", "wsmans", "bitcoin-rpc", "minidlna", "tftp-client", "freeipa-trust", "syslog-tls", "ipsec", "dhcpv6-client", "telnet", "https", "audit", "ssh", "pop3", "nmea-0183", "zabbix-server", "wsman", "xdmcp", "puppetmaster", "finger", "ipp", "ms-wbt", "syncthing-gui", "redis", "syslog", "ganglia-client", "ovirt-imageio", "pmcd", "ldap", "nfs", "kadmin", "sip", "ctdb", "spideroak-lansync", "amqp", "mdns", "http", "quassel", "imaps", "mysql", "elasticsearch", "bacula-client", "smtp", "tftp", "svn", "plex", "wbem-http", "pulseaudio" ], "zones": [ "block", "internal", "drop", "public", "work", "trusted", "external", "home", "dmz" ] }, "default_zone": "public" } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:161 Thursday 31 July 2025 17:12:02 -0400 (0:00:00.085) 0:00:06.017 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:172 Thursday 31 July 2025 17:12:03 -0400 (0:00:00.059) 0:00:06.076 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:178 Thursday 31 July 2025 17:12:03 -0400 (0:00:00.048) 0:00:06.125 ********* skipping: [managed-node1] => {} TASK [Set expected backend] **************************************************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:14 Thursday 31 July 2025 17:12:03 -0400 (0:00:00.061) 0:00:06.186 ********* ok: [managed-node1] => { "ansible_facts": { "nftables_backend": false }, "changed": false } TASK [Find ethernet interface] ************************************************* task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Thursday 31 July 2025 17:12:03 -0400 (0:00:00.075) 0:00:06.262 ********* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nI=$(find /sys/class/net -name 'e*' | head -n1)\n# containers only have virtual devices; for PCI we need a real one\nif [ -n \"$I\" ] && [ -e \"$I/device/vendor\" ]; then\n echo \"$I\"\nfi\n", "delta": "0:00:00.005435", "end": "2025-07-31 17:12:03.480229", "rc": 0, "start": "2025-07-31 17:12:03.474794" } TASK [Debug] ******************************************************************* task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:29 Thursday 31 July 2025 17:12:03 -0400 (0:00:00.326) 0:00:06.588 ********* ok: [managed-node1] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\nip addr\nls -alrtF /sys/class/net\nls -alrtF /sys/class/net/*/device/vendor || :\nls -alrtF /sys/class/net/*/device/device || :\n", "delta": "0:00:00.009528", "end": "2025-07-31 17:12:03.783238", "rc": 0, "start": "2025-07-31 17:12:03.773710" } STDERR: + exec + ip addr 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:26:a4:cd:dc:0b brd ff:ff:ff:ff:ff:ff inet 10.31.40.174/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3161sec preferred_lft 3161sec inet6 fe80::c26:a4ff:fecd:dc0b/64 scope link valid_lft forever preferred_lft forever + ls -alrtF /sys/class/net total 0 drwxr-xr-x. 49 root root 0 Jul 31 17:04 ../ lrwxrwxrwx. 1 root root 0 Jul 31 17:04 lo -> ../../devices/virtual/net/lo/ lrwxrwxrwx. 1 root root 0 Jul 31 17:04 eth0 -> ../../devices/vif-0/net/eth0/ drwxr-xr-x. 2 root root 0 Jul 31 17:10 ./ + ls -alrtF '/sys/class/net/*/device/vendor' ls: cannot access /sys/class/net/*/device/vendor: No such file or directory + : + ls -alrtF '/sys/class/net/*/device/device' ls: cannot access /sys/class/net/*/device/device: No such file or directory + : TASK [Get temp directory] ****************************************************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:44 Thursday 31 July 2025 17:12:03 -0400 (0:00:00.306) 0:00:06.895 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset before] ************************************* task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:51 Thursday 31 July 2025 17:12:03 -0400 (0:00:00.045) 0:00:06.940 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Determine interface vendor/product ID] *********************************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:57 Thursday 31 July 2025 17:12:03 -0400 (0:00:00.041) 0:00:06.982 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device ethernet controller] ************************************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:66 Thursday 31 July 2025 17:12:03 -0400 (0:00:00.041) 0:00:07.023 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device again] **************************************************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:76 Thursday 31 July 2025 17:12:04 -0400 (0:00:00.039) 0:00:07.063 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset after and show diff] ************************ task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:86 Thursday 31 July 2025 17:12:04 -0400 (0:00:00.040) 0:00:07.104 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get nftable ruleset] ***************************************************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:94 Thursday 31 July 2025 17:12:04 -0400 (0:00:00.052) 0:00:07.157 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in nftable ruleset] ***************************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:100 Thursday 31 July 2025 17:12:04 -0400 (0:00:00.064) 0:00:07.221 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get iptables ruleset] **************************************************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:107 Thursday 31 July 2025 17:12:04 -0400 (0:00:00.062) 0:00:07.283 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in iptables ruleset] **************************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:113 Thursday 31 July 2025 17:12:04 -0400 (0:00:00.048) 0:00:07.332 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove interface from internal] ****************************************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:120 Thursday 31 July 2025 17:12:04 -0400 (0:00:00.047) 0:00:07.379 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:130 Thursday 31 July 2025 17:12:04 -0400 (0:00:00.052) 0:00:07.431 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=17 changed=0 unreachable=0 failed=0 skipped=27 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 31 July 2025 17:12:04 -0400 (0:00:00.037) 0:00:07.469 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 0.84s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.75s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:51 fedora.linux_system_roles.firewall : Gather firewall config if no arguments --- 0.74s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:146 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 0.72s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:24 fedora.linux_system_roles.firewall : Run systemctl ---------------------- 0.49s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:34 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 0.46s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:30 fedora.linux_system_roles.firewall : Check if system is ostree ---------- 0.41s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin --- 0.40s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Find ethernet interface ------------------------------------------------- 0.33s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Debug ------------------------------------------------------------------- 0.31s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:29 fedora.linux_system_roles.firewall : Check which conflicting services are enabled --- 0.10s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 fedora.linux_system_roles.firewall : Set flag to indicate system is ostree --- 0.09s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 fedora.linux_system_roles.firewall : Update firewalld_config fact ------- 0.09s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:152 fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services --- 0.08s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Set expected backend ---------------------------------------------------- 0.08s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:14 fedora.linux_system_roles.firewall : Check if previous replaced is defined --- 0.07s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 fedora.linux_system_roles.firewall : Set flag if transactional-update exists --- 0.07s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 fedora.linux_system_roles.firewall : Require installed systemd ---------- 0.07s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:41 fedora.linux_system_roles.firewall : Set flag to indicate that systemd runtime operations are available --- 0.07s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:46 fedora.linux_system_roles.firewall : Configure firewall ----------------- 0.07s /tmp/collections-il4/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:74