ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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-R5Q/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-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Tuesday 31 March 2026 16:46:30 -0400 (0:00:00.041) 0:00:00.041 ********* ok: [managed-node1] META: ran handlers TASK [Set expected backend] **************************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Tuesday 31 March 2026 16:46:31 -0400 (0:00:00.961) 0:00:01.003 ********* ok: [managed-node1] => { "ansible_facts": { "nftables_backend": false }, "changed": false } TASK [Find ethernet interfaces with PCI devices] ******************************* task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:22 Tuesday 31 March 2026 16:46:31 -0400 (0:00:00.046) 0:00:01.049 ********* 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.005322", "end": "2026-03-31 16:46:31.473343", "rc": 0, "start": "2026-03-31 16:46:31.468021" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:37 Tuesday 31 March 2026 16:46:31 -0400 (0:00:00.422) 0:00:01.471 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:42 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.513) 0:00:01.985 ********* ok: [managed-node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [Get temp directory] ****************************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:54 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.040) 0:00:02.026 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset before] ************************************* task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:61 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.085) 0:00:02.111 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get iptables ruleset before] ************************************* task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:68 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.044) 0:00:02.156 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure NetworkManager is installed] ************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:75 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.047) 0:00:02.204 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure NetworkManager is started] **************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.052) 0:00:02.257 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - List devices managed by NetworkManager] ************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:88 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.054) 0:00:02.311 ********* skipping: [managed-node1] => { "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-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:99 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.051) 0:00:02.362 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device ethernet controller] ************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.064) 0:00:02.427 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device again] **************************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:133 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.053) 0:00:02.480 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm changes were not made and short circuit is false] **************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:141 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.046) 0:00:02.526 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add pci device again with previous replaced] ***************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:147 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.043) 0:00:02.569 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm changes were not made and short circuit is false] **************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:156 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.043) 0:00:02.612 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get nftables ruleset after and show diff] ************************ task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:162 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.042) 0:00:02.654 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get nftable ruleset] ***************************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:171 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.037) 0:00:02.692 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in nftable ruleset] ***************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:177 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.035) 0:00:02.727 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug - get iptables ruleset after and show diff] ************************ task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:184 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.037) 0:00:02.765 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get iptables ruleset] **************************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:193 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.039) 0:00:02.804 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that interface is in iptables ruleset] **************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:199 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.048) 0:00:02.853 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove interface from internal] ****************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:206 Tuesday 31 March 2026 16:46:32 -0400 (0:00:00.056) 0:00:02.909 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm removal was made] ************************************************ task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:214 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.056) 0:00:02.966 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug0] ****************************************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:218 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.046) 0:00:03.012 ********* skipping: [managed-node1] => {} TASK [Remove interface from internal again] ************************************ task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:222 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.046) 0:00:03.058 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Confirm no removal changes were made] ************************************ task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:230 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.040) 0:00:03.099 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove interface from internal with previous replaced] ******************* task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:236 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.037) 0:00:03.137 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug1] ****************************************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:245 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.036) 0:00:03.173 ********* skipping: [managed-node1] => {} TASK [Confirm no removal changes were made with previous replaced] ************* task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:249 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.036) 0:00:03.210 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove temporary directory] ********************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:256 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.037) 0:00:03.248 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stop NetworkManager if it was not started by the test] ******************* task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:262 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.035) 0:00:03.283 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove NetworkManager if it was not installed by the test] *************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:270 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.037) 0:00:03.320 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:279 Tuesday 31 March 2026 16:46:33 -0400 (0:00:00.043) 0:00:03.364 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers 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:33 -0400 (0:00:00.055) 0:00:03.420 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 0.96s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:3 Check if system is ostree ----------------------------------------------- 0.51s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:37 Find ethernet interfaces with PCI devices ------------------------------- 0.42s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:22 Get temp directory ------------------------------------------------------ 0.09s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:54 Find the first interface with PCI devices that is managed by NetworkManager --- 0.06s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:99 Remove interface from internal ------------------------------------------ 0.06s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:206 Assert that interface is in iptables ruleset ---------------------------- 0.06s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:199 Cleanup ----------------------------------------------------------------- 0.06s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:279 Ensure NetworkManager is started ---------------------------------------- 0.05s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:82 Add pci device ethernet controller -------------------------------------- 0.05s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:124 Ensure NetworkManager is installed -------------------------------------- 0.05s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:75 Debug - List devices managed by NetworkManager -------------------------- 0.05s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:88 Get iptables ruleset ---------------------------------------------------- 0.05s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:193 Debug - get iptables ruleset before ------------------------------------- 0.05s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:68 Add pci device again ---------------------------------------------------- 0.05s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:133 Debug0 ------------------------------------------------------------------ 0.05s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:218 Confirm removal was made ------------------------------------------------ 0.05s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:214 Set expected backend ---------------------------------------------------- 0.05s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:18 Debug - get nftables ruleset before ------------------------------------- 0.04s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:61 Remove NetworkManager if it was not installed by the test --------------- 0.04s /tmp/collections-R5Q/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_interface_pci.yml:270