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-yR8/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-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Wednesday 01 April 2026 19:46:53 -0400 (0:00:00.031) 0:00:00.031 ******* ok: [managed-node2] META: ran handlers TASK [Set expected backend] **************************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Wednesday 01 April 2026 19:46:53 -0400 (0:00:00.922) 0:00:00.953 ******* ok: [managed-node2] => { "ansible_facts": { "nftables_backend": true }, "changed": false } TASK [Find ethernet interfaces with PCI devices] ******************************* task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:22 Wednesday 01 April 2026 19:46:54 -0400 (0:00:00.045) 0:00:00.998 ******* 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.004449", "end": "2026-04-01 19:46:54.494146", "rc": 0, "start": "2026-04-01 19:46:54.489697" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:37 Wednesday 01 April 2026 19:46:54 -0400 (0:00:00.516) 0:00:01.514 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:42 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.490) 0:00:02.004 ******* ok: [managed-node2] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [Get temp directory] ****************************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:54 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.036) 0:00:02.041 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset before] ************************************* task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:61 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.033) 0:00:02.075 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get iptables ruleset before] ************************************* task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:68 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.033) 0:00:02.108 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure NetworkManager is installed] ************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:75 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.034) 0:00:02.143 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure NetworkManager is started] **************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.038) 0:00:02.182 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - List devices managed by NetworkManager] ************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:88 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.039) 0:00:02.222 ******* 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-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:99 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.048) 0:00:02.270 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device ethernet controller] ************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.039) 0:00:02.310 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device again] **************************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:133 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.046) 0:00:02.356 ******* 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-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:141 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.054) 0:00:02.411 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device again with previous replaced] ***************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.053) 0:00:02.464 ******* 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-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:156 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.058) 0:00:02.522 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset after and show diff] ************************ task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:162 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.052) 0:00:02.574 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get nftable ruleset] ***************************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:171 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.041) 0:00:02.616 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in nftable ruleset] ***************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:177 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.036) 0:00:02.653 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get iptables ruleset after and show diff] ************************ task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:184 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.033) 0:00:02.686 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get iptables ruleset] **************************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:193 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.033) 0:00:02.720 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in iptables ruleset] **************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:199 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.034) 0:00:02.755 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove interface from internal] ****************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:206 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.034) 0:00:02.789 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm removal was made] ************************************************ task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:214 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.034) 0:00:02.823 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug0] ****************************************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:218 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.035) 0:00:02.859 ******* skipping: [managed-node2] => {} TASK [Remove interface from internal again] ************************************ task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:222 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.033) 0:00:02.893 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm no removal changes were made] ************************************ task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:230 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.034) 0:00:02.928 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove interface from internal with previous replaced] ******************* task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:236 Wednesday 01 April 2026 19:46:55 -0400 (0:00:00.033) 0:00:02.962 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug1] ****************************************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:245 Wednesday 01 April 2026 19:46:56 -0400 (0:00:00.034) 0:00:02.996 ******* skipping: [managed-node2] => {} TASK [Confirm no removal changes were made with previous replaced] ************* task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:249 Wednesday 01 April 2026 19:46:56 -0400 (0:00:00.033) 0:00:03.030 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove temporary directory] ********************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:256 Wednesday 01 April 2026 19:46:56 -0400 (0:00:00.035) 0:00:03.065 ******* 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-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:262 Wednesday 01 April 2026 19:46:56 -0400 (0:00:00.034) 0:00:03.100 ******* 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-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:270 Wednesday 01 April 2026 19:46:56 -0400 (0:00:00.034) 0:00:03.134 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:279 Wednesday 01 April 2026 19:46:56 -0400 (0:00:00.035) 0:00:03.169 ******* 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 ******************************************************************** Wednesday 01 April 2026 19:46:56 -0400 (0:00:00.033) 0:00:03.203 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 0.92s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Find ethernet interfaces with PCI devices ------------------------------- 0.52s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:22 Check if system is ostree ----------------------------------------------- 0.49s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:37 Add pci device again with previous replaced ----------------------------- 0.06s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Add pci device again ---------------------------------------------------- 0.05s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:133 Confirm changes were not made and short circuit is false ---------------- 0.05s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:141 Confirm changes were not made and short circuit is false ---------------- 0.05s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:156 Debug - List devices managed by NetworkManager -------------------------- 0.05s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:88 Add pci device ethernet controller -------------------------------------- 0.05s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Set expected backend ---------------------------------------------------- 0.05s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Debug - get nftables ruleset after and show diff ------------------------ 0.04s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:162 Ensure NetworkManager is started ---------------------------------------- 0.04s /tmp/collections-yR8/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.04s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:99 Ensure NetworkManager is installed -------------------------------------- 0.04s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:75 Get nftable ruleset ----------------------------------------------------- 0.04s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:171 Set flag to indicate system is ostree ----------------------------------- 0.04s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:42 Confirm removal was made ------------------------------------------------ 0.04s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:214 Confirm no removal changes were made with previous replaced ------------- 0.04s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:249 Remove NetworkManager if it was not installed by the test --------------- 0.04s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:270 Remove interface from internal again ------------------------------------ 0.03s /tmp/collections-yR8/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:222