ansible-playbook [core 2.17.5] 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-EAk executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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_default.yml **************************************************** 1 plays in /tmp/collections-EAk/ansible_collections/fedora/linux_system_roles/tests/aide/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-EAk/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 26 October 2024 07:24:17 -0400 (0:00:00.010) 0:00:00.010 ****** included: /tmp/collections-EAk/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ****** task path: /tmp/collections-EAk/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 26 October 2024 07:24:17 -0400 (0:00:00.014) 0:00:00.025 ****** fatal: [managed-node1]: FAILED! => {} MSG: The conditional check '__template_required_facts | difference(ansible_facts.keys() | list) | length > 0' failed. The error was: error while evaluating conditional (__template_required_facts | difference(ansible_facts.keys() | list) | length > 0): '__template_required_facts' is undefined The error appears to be in '/tmp/collections-EAk/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Ensure ansible_facts used by role ^ here PLAY RECAP ********************************************************************* managed-node1 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Saturday 26 October 2024 07:24:17 -0400 (0:00:00.029) 0:00:00.054 ****** =============================================================================== fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.03s /tmp/collections-EAk/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.01s /tmp/collections-EAk/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3