ansible-playbook [core 2.17.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-eNn executable location = /usr/local/bin/ansible-playbook python version = 3.12.12 (main, Jan 16 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', 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 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_interface_pci.yml ********************************************** 1 plays in /tmp/collections-eNn/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-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Tuesday 17 February 2026 13:49:01 -0500 (0:00:00.032) 0:00:00.032 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [Set expected backend] **************************************************** task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:14 Tuesday 17 February 2026 13:49:02 -0500 (0:00:01.167) 0:00:01.200 ****** ok: [managed-node1] => { "ansible_facts": { "nftables_backend": true }, "changed": false } TASK [Find ethernet interface] ************************************************* task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Tuesday 17 February 2026 13:49:02 -0500 (0:00:00.030) 0:00:01.231 ****** 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.006074", "end": "2026-02-17 13:49:02.927423", "rc": 0, "start": "2026-02-17 13:49:02.921349" } TASK [Debug] ******************************************************************* task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:29 Tuesday 17 February 2026 13:49:02 -0500 (0:00:00.552) 0:00:01.783 ****** 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.010927", "end": "2026-02-17 13:49:03.319758", "rc": 0, "start": "2026-02-17 13:49:03.308831" } 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 02:df:71:65:d8:0f brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.45.81/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3382sec preferred_lft 3382sec inet6 fe80::df:71ff:fe65:d80f/64 scope link valid_lft forever preferred_lft forever 3: eth1: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:ef:11:77:13:7d brd ff:ff:ff:ff:ff:ff altname enX1 inet 10.31.46.25/22 brd 10.31.47.255 scope global dynamic noprefixroute eth1 valid_lft 3382sec preferred_lft 3382sec inet6 fe80::ef:11ff:fe77:137d/64 scope link valid_lft forever preferred_lft forever + ls -alrtF /sys/class/net total 0 drwxr-xr-x. 58 root root 0 Feb 17 13:45 ../ lrwxrwxrwx. 1 root root 0 Feb 17 13:45 eth1 -> ../../devices/vif-1/net/eth1/ lrwxrwxrwx. 1 root root 0 Feb 17 13:45 lo -> ../../devices/virtual/net/lo/ lrwxrwxrwx. 1 root root 0 Feb 17 13:45 eth0 -> ../../devices/vif-0/net/eth0/ drwxr-xr-x. 2 root root 0 Feb 17 13:47 ./ + 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-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:44 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.382) 0:00:02.166 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset before] ************************************* task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:51 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.013) 0:00:02.179 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Determine interface vendor/product ID] *********************************** task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:58 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.011) 0:00:02.191 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Install NetworkManager] ************************************************** task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:72 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.012) 0:00:02.203 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Start NetworkManager] **************************************************** task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:77 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.011) 0:00:02.215 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Add pci device ethernet controller] ************************************** task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.011) 0:00:02.227 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Add pci device again] **************************************************** task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:92 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.011) 0:00:02.238 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset after and show diff] ************************ task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:102 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.012) 0:00:02.250 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Get nftable ruleset] ***************************************************** task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:111 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.011) 0:00:02.262 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Assert that interface is in nftable ruleset] ***************************** task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:117 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.011) 0:00:02.273 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Get iptables ruleset] **************************************************** task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.012) 0:00:02.286 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Assert that interface is in iptables ruleset] **************************** task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:130 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.010) 0:00:02.297 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Remove interface from internal] ****************************************** task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:137 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.011) 0:00:02.309 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.010) 0:00:02.319 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node1 : ok=4 changed=0 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 17 February 2026 13:49:03 -0500 (0:00:00.010) 0:00:02.330 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.17s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Find ethernet interface ------------------------------------------------- 0.55s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Debug ------------------------------------------------------------------- 0.38s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:29 Set expected backend ---------------------------------------------------- 0.03s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:14 Get temp directory ------------------------------------------------------ 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:44 Assert that interface is in nftable ruleset ----------------------------- 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:117 Add pci device again ---------------------------------------------------- 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:92 Determine interface vendor/product ID ----------------------------------- 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:58 Debug - get nftables ruleset before ------------------------------------- 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:51 Assert that interface is in iptables ruleset ---------------------------- 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:130 Start NetworkManager ---------------------------------------------------- 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:77 Debug - get nftables ruleset after and show diff ------------------------ 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:102 Install NetworkManager -------------------------------------------------- 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:72 Add pci device ethernet controller -------------------------------------- 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Get nftable ruleset ----------------------------------------------------- 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:111 Remove interface from internal ------------------------------------------ 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:137 Get iptables ruleset ---------------------------------------------------- 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Cleanup ----------------------------------------------------------------- 0.01s /tmp/collections-eNn/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147