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-GLj executable location = /usr/local/bin/ansible-playbook python version = 3.12.12 (main, Mar 9 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-GLj/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-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Tuesday 31 March 2026 16:46:30 -0400 (0:00:00.034) 0:00:00.034 ********* [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-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Tuesday 31 March 2026 16:46:31 -0400 (0:00:01.063) 0:00:01.098 ********* ok: [managed-node1] => { "ansible_facts": { "nftables_backend": true }, "changed": false } TASK [Find ethernet interfaces with PCI devices] ******************************* task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:22 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.025) 0:00:01.123 ********* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nfind /sys/class/net -name 'e*' | while read -r iface_path; do\n # containers only have virtual devices; for PCI we need a real one\n if [ -n \"$iface_path\" ] && [ -e \"$iface_path/device/vendor\" ] && [ -e \"$iface_path/device/device\" ]; then\n echo \"$iface_path\"\n fi\ndone\n", "delta": "0:00:00.005420", "end": "2026-03-31 16:46:32.407328", "rc": 0, "start": "2026-03-31 16:46:32.401908" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:37 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.437) 0:00:01.560 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:42 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.433) 0:00:01.994 ********* ok: [managed-node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [Get temp directory] ****************************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:54 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.021) 0:00:02.015 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset before] ************************************* task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:61 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.032) 0:00:02.048 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Debug - get iptables ruleset before] ************************************* task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:68 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.036) 0:00:02.084 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Ensure NetworkManager is installed] ************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:75 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.041) 0:00:02.126 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Ensure NetworkManager is started] **************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.053) 0:00:02.180 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Debug - List devices managed by NetworkManager] ************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:88 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.053) 0:00:02.234 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Find the first interface with PCI devices that is managed by NetworkManager] *** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:99 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.051) 0:00:02.286 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Add pci device ethernet controller] ************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.053) 0:00:02.339 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Add pci device again] **************************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:133 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.059) 0:00:02.398 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Confirm changes were not made and short circuit is false] **************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:141 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.039) 0:00:02.438 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Add pci device again with previous replaced] ***************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.035) 0:00:02.473 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Confirm changes were not made and short circuit is false] **************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:156 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.035) 0:00:02.509 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset after and show diff] ************************ task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:162 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.034) 0:00:02.544 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Get nftable ruleset] ***************************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:171 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.036) 0:00:02.580 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Assert that interface is in nftable ruleset] ***************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:177 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.040) 0:00:02.621 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Debug - get iptables ruleset after and show diff] ************************ task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:184 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.035) 0:00:02.656 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Get iptables ruleset] **************************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:193 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.033) 0:00:02.689 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Assert that interface is in iptables ruleset] **************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:199 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.032) 0:00:02.722 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Remove interface from internal] ****************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:206 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.031) 0:00:02.754 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Confirm removal was made] ************************************************ task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:214 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.031) 0:00:02.785 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Debug0] ****************************************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:218 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.032) 0:00:02.817 ********* skipping: [managed-node1] => { "false_condition": "find_iface_paths.stdout_lines | length > 0" } TASK [Remove interface from internal again] ************************************ task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:222 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.031) 0:00:02.849 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Confirm no removal changes were made] ************************************ task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:230 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.031) 0:00:02.881 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Remove interface from internal with previous replaced] ******************* task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:236 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.032) 0:00:02.913 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Debug1] ****************************************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:245 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.035) 0:00:02.948 ********* skipping: [managed-node1] => { "false_condition": "find_iface_paths.stdout_lines | length > 0" } TASK [Confirm no removal changes were made with previous replaced] ************* task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:249 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.040) 0:00:02.989 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Remove temporary directory] ********************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:256 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.052) 0:00:03.042 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Stop NetworkManager if it was not started by the test] ******************* task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:262 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.053) 0:00:03.096 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Remove NetworkManager if it was not installed by the test] *************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:270 Tuesday 31 March 2026 16:46:34 -0400 (0:00:00.053) 0:00:03.149 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:279 Tuesday 31 March 2026 16:46:34 -0400 (0:00:00.054) 0:00:03.204 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "find_iface_paths.stdout_lines | length > 0", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node1 : ok=5 changed=0 unreachable=0 failed=0 skipped=30 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 31 March 2026 16:46:34 -0400 (0:00:00.052) 0:00:03.257 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.06s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Find ethernet interfaces with PCI devices ------------------------------- 0.44s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:22 Check if system is ostree ----------------------------------------------- 0.43s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:37 Add pci device ethernet controller -------------------------------------- 0.06s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Remove NetworkManager if it was not installed by the test --------------- 0.05s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:270 Remove temporary directory ---------------------------------------------- 0.05s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:256 Ensure NetworkManager is installed -------------------------------------- 0.05s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:75 Ensure NetworkManager is started ---------------------------------------- 0.05s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Find the first interface with PCI devices that is managed by NetworkManager --- 0.05s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:99 Stop NetworkManager if it was not started by the test ------------------- 0.05s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:262 Confirm no removal changes were made with previous replaced ------------- 0.05s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:249 Cleanup ----------------------------------------------------------------- 0.05s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:279 Debug - List devices managed by NetworkManager -------------------------- 0.05s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:88 Debug - get iptables ruleset before ------------------------------------- 0.04s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:68 Debug1 ------------------------------------------------------------------ 0.04s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:245 Get nftable ruleset ----------------------------------------------------- 0.04s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:171 Add pci device again ---------------------------------------------------- 0.04s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:133 Debug - get nftables ruleset before ------------------------------------- 0.04s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:61 Debug - get nftables ruleset after and show diff ------------------------ 0.04s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:162 Add pci device again with previous replaced ----------------------------- 0.04s /tmp/collections-GLj/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147