ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [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-Vq2/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-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Friday 27 March 2026 17:20:46 -0400 (0:00:00.021) 0:00:00.021 ********** ok: [managed-node2] META: ran handlers TASK [Set expected backend] **************************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Friday 27 March 2026 17:20:47 -0400 (0:00:00.945) 0:00:00.967 ********** ok: [managed-node2] => { "ansible_facts": { "nftables_backend": true }, "changed": false } TASK [Find ethernet interfaces with PCI devices] ******************************* task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:22 Friday 27 March 2026 17:20:47 -0400 (0:00:00.037) 0:00:01.005 ********** ok: [managed-node2] => { "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.004621", "end": "2026-03-27 17:20:47.537985", "rc": 0, "start": "2026-03-27 17:20:47.533364" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:37 Friday 27 March 2026 17:20:47 -0400 (0:00:00.433) 0:00:01.438 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:42 Friday 27 March 2026 17:20:48 -0400 (0:00:00.454) 0:00:01.892 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [Get temp directory] ****************************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:54 Friday 27 March 2026 17:20:48 -0400 (0:00:00.034) 0:00:01.927 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset before] ************************************* task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:61 Friday 27 March 2026 17:20:48 -0400 (0:00:00.031) 0:00:01.959 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get iptables ruleset before] ************************************* task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:68 Friday 27 March 2026 17:20:48 -0400 (0:00:00.032) 0:00:01.991 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure NetworkManager is installed] ************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:75 Friday 27 March 2026 17:20:48 -0400 (0:00:00.032) 0:00:02.024 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure NetworkManager is started] **************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Friday 27 March 2026 17:20:48 -0400 (0:00:00.032) 0:00:02.057 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - List devices managed by NetworkManager] ************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:88 Friday 27 March 2026 17:20:48 -0400 (0:00:00.032) 0:00:02.089 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Find the first interface with PCI devices that is managed by NetworkManager] *** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:99 Friday 27 March 2026 17:20:48 -0400 (0:00:00.030) 0:00:02.120 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device ethernet controller] ************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Friday 27 March 2026 17:20:48 -0400 (0:00:00.031) 0:00:02.151 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device again] **************************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:133 Friday 27 March 2026 17:20:48 -0400 (0:00:00.031) 0:00:02.183 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm changes were not made and short circuit is false] **************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:141 Friday 27 March 2026 17:20:48 -0400 (0:00:00.031) 0:00:02.214 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device again with previous replaced] ***************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Friday 27 March 2026 17:20:48 -0400 (0:00:00.031) 0:00:02.245 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm changes were not made and short circuit is false] **************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:156 Friday 27 March 2026 17:20:48 -0400 (0:00:00.032) 0:00:02.277 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset after and show diff] ************************ task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:162 Friday 27 March 2026 17:20:48 -0400 (0:00:00.032) 0:00:02.310 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get nftable ruleset] ***************************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:171 Friday 27 March 2026 17:20:48 -0400 (0:00:00.032) 0:00:02.342 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in nftable ruleset] ***************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:177 Friday 27 March 2026 17:20:48 -0400 (0:00:00.032) 0:00:02.374 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get iptables ruleset after and show diff] ************************ task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:184 Friday 27 March 2026 17:20:48 -0400 (0:00:00.031) 0:00:02.406 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get iptables ruleset] **************************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:193 Friday 27 March 2026 17:20:48 -0400 (0:00:00.030) 0:00:02.437 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in iptables ruleset] **************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:199 Friday 27 March 2026 17:20:48 -0400 (0:00:00.031) 0:00:02.469 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove interface from internal] ****************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:206 Friday 27 March 2026 17:20:48 -0400 (0:00:00.038) 0:00:02.508 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm removal was made] ************************************************ task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:214 Friday 27 March 2026 17:20:48 -0400 (0:00:00.031) 0:00:02.539 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug0] ****************************************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:218 Friday 27 March 2026 17:20:48 -0400 (0:00:00.031) 0:00:02.570 ********** skipping: [managed-node2] => {} TASK [Remove interface from internal again] ************************************ task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:222 Friday 27 March 2026 17:20:48 -0400 (0:00:00.030) 0:00:02.601 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm no removal changes were made] ************************************ task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:230 Friday 27 March 2026 17:20:48 -0400 (0:00:00.031) 0:00:02.632 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove interface from internal with previous replaced] ******************* task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:236 Friday 27 March 2026 17:20:48 -0400 (0:00:00.031) 0:00:02.664 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug1] ****************************************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:245 Friday 27 March 2026 17:20:48 -0400 (0:00:00.032) 0:00:02.697 ********** skipping: [managed-node2] => {} TASK [Confirm no removal changes were made with previous replaced] ************* task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:249 Friday 27 March 2026 17:20:48 -0400 (0:00:00.032) 0:00:02.730 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove temporary directory] ********************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:256 Friday 27 March 2026 17:20:48 -0400 (0:00:00.033) 0:00:02.763 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stop NetworkManager if it was not started by the test] ******************* task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:262 Friday 27 March 2026 17:20:48 -0400 (0:00:00.035) 0:00:02.798 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove NetworkManager if it was not installed by the test] *************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:270 Friday 27 March 2026 17:20:48 -0400 (0:00:00.040) 0:00:02.839 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:279 Friday 27 March 2026 17:20:49 -0400 (0:00:00.042) 0:00:02.881 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : 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 ******************************************************************** Friday 27 March 2026 17:20:49 -0400 (0:00:00.046) 0:00:02.927 ********** =============================================================================== Gathering Facts --------------------------------------------------------- 0.95s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Check if system is ostree ----------------------------------------------- 0.45s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:37 Find ethernet interfaces with PCI devices ------------------------------- 0.43s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:22 Cleanup ----------------------------------------------------------------- 0.05s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:279 Remove NetworkManager if it was not installed by the test --------------- 0.04s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:270 Stop NetworkManager if it was not started by the test ------------------- 0.04s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:262 Assert that interface is in iptables ruleset ---------------------------- 0.04s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:199 Set expected backend ---------------------------------------------------- 0.04s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Remove temporary directory ---------------------------------------------- 0.04s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:256 Set flag to indicate system is ostree ----------------------------------- 0.03s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:42 Confirm no removal changes were made with previous replaced ------------- 0.03s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:249 Debug - get iptables ruleset before ------------------------------------- 0.03s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:68 Ensure NetworkManager is installed -------------------------------------- 0.03s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:75 Debug1 ------------------------------------------------------------------ 0.03s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:245 Confirm changes were not made and short circuit is false ---------------- 0.03s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:156 Remove interface from internal with previous replaced ------------------- 0.03s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:236 Ensure NetworkManager is started ---------------------------------------- 0.03s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Debug - get nftables ruleset after and show diff ------------------------ 0.03s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:162 Debug - get nftables ruleset before ------------------------------------- 0.03s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:61 Get nftable ruleset ----------------------------------------------------- 0.03s /tmp/collections-Vq2/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:171