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-jrV executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, Apr 22 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/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_target.yml ***************************************************** 1 plays in /tmp/collections-jrV/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_target.yml PLAY [Target tests] ************************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-jrV/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_target.yml:2 Tuesday 20 May 2025 13:36:00 -0400 (0:00:00.022) 0:00:00.022 *********** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [Call role to change target settings] ************************************* task path: /tmp/collections-jrV/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_target.yml:7 Tuesday 20 May 2025 13:36:01 -0400 (0:00:01.176) 0:00:01.199 *********** 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-jrV/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