ansible-playbook [core 2.17.12] 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-YOm executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, Apr 22 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] (/usr/bin/python3.12) jinja version = 3.1.5 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_service.yml **************************************************** 1 plays in /tmp/collections-YOm/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml PLAY [Test firewall user defined services] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-YOm/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:2 Tuesday 20 May 2025 13:43:06 -0400 (0:00:00.031) 0:00:00.031 *********** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [Start from clean slate] ************************************************** task path: /tmp/collections-YOm/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_service.yml:11 Tuesday 20 May 2025 13:43:07 -0400 (0:00:01.130) 0:00:01.162 *********** ERROR! couldn't resolve module/action 'fedora.linux_system_roles.firewall_lib'. This often indicates a misspelling, missing collection, or incorrect module path. The error appears to be in '/tmp/collections-YOm/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml': line 74, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: # "casting" it into a list. - name: Configure firewall ^ here