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-Fhx 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-Fhx/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-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Tuesday 17 February 2026 13:48:15 -0500 (0:00:00.029) 0:00:00.029 ****** [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-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:14 Tuesday 17 February 2026 13:48:16 -0500 (0:00:01.206) 0:00:01.235 ****** ok: [managed-node1] => { "ansible_facts": { "nftables_backend": true }, "changed": false } TASK [Find ethernet interface] ************************************************* task path: /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Tuesday 17 February 2026 13:48:16 -0500 (0:00:00.020) 0:00:01.256 ****** 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.005288", "end": "2026-02-17 13:48:17.366394", "rc": 0, "start": "2026-02-17 13:48:17.361106" } TASK [Debug] ******************************************************************* task path: /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:29 Tuesday 17 February 2026 13:48:17 -0500 (0:00:00.462) 0:00:01.718 ****** 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.009237", "end": "2026-02-17 13:48:17.775617", "rc": 0, "start": "2026-02-17 13:48:17.766380" } 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:f4:2d:91:4b brd ff:ff:ff:ff:ff:ff altname enX0 altname enx0afff42d914b inet 10.31.14.90/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3408sec preferred_lft 3408sec inet6 fe80::8ff:f4ff:fe2d:914b/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:f2:de:6c:35 brd ff:ff:ff:ff:ff:ff altname enX1 altname enx0afff2de6c35 inet 10.31.14.64/22 brd 10.31.15.255 scope global dynamic noprefixroute eth1 valid_lft 3408sec preferred_lft 3408sec inet6 fe80::8ff:f2ff:fede:6c35/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 13:44 ../ lrwxrwxrwx. 1 root root 0 Feb 17 13:44 eth0 -> ../../devices/vif-0/net/eth0/ lrwxrwxrwx. 1 root root 0 Feb 17 13:44 lo -> ../../devices/virtual/net/lo/ lrwxrwxrwx. 1 root root 0 Feb 17 13:44 eth1 -> ../../devices/vif-1/net/eth1/ 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-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:44 Tuesday 17 February 2026 13:48:17 -0500 (0:00:00.410) 0:00:02.128 ****** 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-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:51 Tuesday 17 February 2026 13:48:17 -0500 (0:00:00.020) 0:00:02.149 ****** 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-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:58 Tuesday 17 February 2026 13:48:17 -0500 (0:00:00.020) 0:00:02.170 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Install NetworkManager] ************************************************** task path: /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:72 Tuesday 17 February 2026 13:48:17 -0500 (0:00:00.019) 0:00:02.189 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Start NetworkManager] **************************************************** task path: /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:77 Tuesday 17 February 2026 13:48:17 -0500 (0:00:00.020) 0:00:02.210 ****** 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-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Tuesday 17 February 2026 13:48:17 -0500 (0:00:00.019) 0:00:02.229 ****** 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-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:92 Tuesday 17 February 2026 13:48:17 -0500 (0:00:00.019) 0:00:02.248 ****** 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-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:102 Tuesday 17 February 2026 13:48:17 -0500 (0:00:00.018) 0:00:02.267 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Get nftable ruleset] ***************************************************** task path: /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:111 Tuesday 17 February 2026 13:48:17 -0500 (0:00:00.016) 0:00:02.283 ****** 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-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:117 Tuesday 17 February 2026 13:48:17 -0500 (0:00:00.011) 0:00:02.294 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Get iptables ruleset] **************************************************** task path: /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Tuesday 17 February 2026 13:48:18 -0500 (0:00:00.014) 0:00:02.308 ****** 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-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:130 Tuesday 17 February 2026 13:48:18 -0500 (0:00:00.012) 0:00:02.321 ****** 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-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:137 Tuesday 17 February 2026 13:48:18 -0500 (0:00:00.011) 0:00:02.332 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface.stdout != \"\"", "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Tuesday 17 February 2026 13:48:18 -0500 (0:00:00.011) 0:00:02.343 ****** 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:48:18 -0500 (0:00:00.009) 0:00:02.353 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.21s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Find ethernet interface ------------------------------------------------- 0.46s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Debug ------------------------------------------------------------------- 0.41s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:29 Get temp directory ------------------------------------------------------ 0.02s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:44 Debug - get nftables ruleset before ------------------------------------- 0.02s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:51 Install NetworkManager -------------------------------------------------- 0.02s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:72 Set expected backend ---------------------------------------------------- 0.02s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:14 Determine interface vendor/product ID ----------------------------------- 0.02s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:58 Start NetworkManager ---------------------------------------------------- 0.02s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:77 Add pci device ethernet controller -------------------------------------- 0.02s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Add pci device again ---------------------------------------------------- 0.02s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:92 Debug - get nftables ruleset after and show diff ------------------------ 0.02s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:102 Assert that interface is in nftable ruleset ----------------------------- 0.01s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:117 Get iptables ruleset ---------------------------------------------------- 0.01s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Get nftable ruleset ----------------------------------------------------- 0.01s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:111 Assert that interface is in iptables ruleset ---------------------------- 0.01s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:130 Remove interface from internal ------------------------------------------ 0.01s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:137 Cleanup ----------------------------------------------------------------- 0.01s /tmp/collections-Fhx/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147