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-OhX executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/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-OhX/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-OhX/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 02 November 2024 07:21:21 -0400 (0:00:00.009) 0:00:00.009 ***** included: /tmp/collections-OhX/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-OhX/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 02 November 2024 07:21:21 -0400 (0:00:00.015) 0:00:00.024 ***** 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-OhX/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 02 November 2024 07:21:21 -0400 (0:00:00.050) 0:00:00.074 ***** =============================================================================== fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.05s /tmp/collections-OhX/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.02s /tmp/collections-OhX/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3