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-8k8 executable location = /usr/local/bin/ansible-playbook python version = 3.12.12 (main, Jan 16 2026, 00:00:00) [GCC 14.3.1 20251022 (Red Hat 14.3.1-4)] (/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-8k8/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-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Tuesday 17 February 2026 14:27:42 -0500 (0:00:00.019) 0:00:00.019 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:14 Tuesday 17 February 2026 14:27:43 -0500 (0:00:01.226) 0:00:01.245 ****** ok: [managed-node1] => { "ansible_facts": { "nftables_backend": true }, "changed": false } TASK [Find ethernet interface] ************************************************* task path: /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Tuesday 17 February 2026 14:27:43 -0500 (0:00:00.021) 0:00:01.266 ****** 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.005113", "end": "2026-02-17 14:27:43.942921", "rc": 0, "start": "2026-02-17 14:27:43.937808" } TASK [Debug] ******************************************************************* task path: /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:29 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.455) 0:00:01.722 ****** 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.008602", "end": "2026-02-17 14:27:44.325096", "rc": 0, "start": "2026-02-17 14:27:44.316494" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:e5:45:72:6b brd ff:ff:ff:ff:ff:ff altname enX0 altname enx0affe545726b inet 10.31.15.188/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3401sec preferred_lft 3401sec inet6 fe80::8ff:e5ff:fe45:726b/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: eth1: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:ce:5d:0b:73 brd ff:ff:ff:ff:ff:ff altname enX1 altname enx0affce5d0b73 inet 10.31.13.125/22 brd 10.31.15.255 scope global dynamic noprefixroute eth1 valid_lft 3401sec preferred_lft 3401sec inet6 fe80::8ff:ceff:fe5d:b73/64 scope link noprefixroute valid_lft forever preferred_lft forever + ls -alrtF /sys/class/net total 0 drwxr-xr-x. 58 root root 0 Feb 17 14:24 ../ lrwxrwxrwx. 1 root root 0 Feb 17 14:24 eth0 -> ../../devices/vif-0/net/eth0/ lrwxrwxrwx. 1 root root 0 Feb 17 14:24 eth1 -> ../../devices/vif-1/net/eth1/ lrwxrwxrwx. 1 root root 0 Feb 17 14:24 lo -> ../../devices/virtual/net/lo/ drwxr-xr-x. 2 root root 0 Feb 17 14:26 ./ + 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-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:44 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.373) 0:00:02.096 ****** 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-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:51 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.013) 0:00:02.109 ****** 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-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:58 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.011) 0:00:02.120 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Install NetworkManager] ************************************************** task path: /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:72 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.011) 0:00:02.131 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Start NetworkManager] **************************************************** task path: /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:77 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.011) 0:00:02.143 ****** 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-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.011) 0:00:02.154 ****** 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-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:92 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.010) 0:00:02.164 ****** 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-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:102 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.012) 0:00:02.177 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Get nftable ruleset] ***************************************************** task path: /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:111 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.012) 0:00:02.190 ****** 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-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:117 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.011) 0:00:02.201 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Get iptables ruleset] **************************************************** task path: /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.010) 0:00:02.212 ****** 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-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:130 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.011) 0:00:02.223 ****** 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-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:137 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.011) 0:00:02.234 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Tuesday 17 February 2026 14:27:44 -0500 (0:00:00.010) 0:00:02.245 ****** 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 14:27:44 -0500 (0:00:00.009) 0:00:02.254 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.23s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Find ethernet interface ------------------------------------------------- 0.46s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Debug ------------------------------------------------------------------- 0.37s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:29 Set expected backend ---------------------------------------------------- 0.02s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:14 Get temp directory ------------------------------------------------------ 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:44 Add pci device again ---------------------------------------------------- 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:92 Debug - get nftables ruleset after and show diff ------------------------ 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:102 Debug - get nftables ruleset before ------------------------------------- 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:51 Get nftable ruleset ----------------------------------------------------- 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:111 Determine interface vendor/product ID ----------------------------------- 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:58 Assert that interface is in iptables ruleset ---------------------------- 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:130 Get iptables ruleset ---------------------------------------------------- 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Install NetworkManager -------------------------------------------------- 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:72 Start NetworkManager ---------------------------------------------------- 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:77 Remove interface from internal ------------------------------------------ 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:137 Add pci device ethernet controller -------------------------------------- 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Assert that interface is in nftable ruleset ----------------------------- 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:117 Cleanup ----------------------------------------------------------------- 0.01s /tmp/collections-8k8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147