ansible-playbook [core 2.17.14] 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-8af executable location = /usr/local/bin/ansible-playbook python version = 3.12.12 (main, Oct 10 2025, 00:00:00) [GCC 14.3.1 20251022 (Red Hat 14.3.1-4)] (/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_check_cron.yml ************************************************* 1 plays in /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml PLAY [Ensure that the cron is set up] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Tuesday 13 January 2026 18:34:59 -0500 (0:00:00.021) 0:00:00.021 ******* [WARNING]: Platform linux on host managed-node1 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-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Tuesday 13 January 2026 18:35:02 -0500 (0:00:02.341) 0:00:02.363 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:14 Tuesday 13 January 2026 18:35:02 -0500 (0:00:00.455) 0:00:02.818 ******* ok: [managed-node1] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [Install crontabs] ******************************************************** task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 Tuesday 13 January 2026 18:35:02 -0500 (0:00:00.020) 0:00:02.838 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 Tuesday 13 January 2026 18:35:07 -0500 (0:00:05.229) 0:00:08.067 ******* changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_eq3dlf7e_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 Tuesday 13 January 2026 18:35:08 -0500 (0:00:00.494) 0:00:08.562 ******* changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_eq3dlf7e_crontab", "gid": 0, "group": "root", "md5sum": "c39252b11aad842fcb75e05c6a27eef8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:system_cron_spool_t:s0", "size": 451, "src": "/etc/crontab", "state": "file", "uid": 0 } TASK [Run the role and set up cron] ******************************************** task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:39 Tuesday 13 January 2026 18:35:08 -0500 (0:00:00.444) 0:00:09.007 ******* included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Tuesday 13 January 2026 18:35:08 -0500 (0:00:00.031) 0:00:09.039 ******* included: /tmp/collections-8af/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-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Tuesday 13 January 2026 18:35:08 -0500 (0:00:00.016) 0:00:09.055 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "__aide_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Tuesday 13 January 2026 18:35:09 -0500 (0:00:00.031) 0:00:09.087 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __aide_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] *** task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Tuesday 13 January 2026 18:35:09 -0500 (0:00:00.015) 0:00:09.102 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __aide_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Tuesday 13 January 2026 18:35:09 -0500 (0:00:00.015) 0:00:09.118 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Debug0] ********************************* task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:6 Tuesday 13 January 2026 18:35:09 -0500 (0:00:00.028) 0:00:09.146 ******* fatal: [managed-node1]: FAILED! => {} MSG: The task includes an option with an undefined variable.. 'ansible_distribution' is undefined The error appears to be in '/tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml': line 6, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Debug0 ^ here TASK [Restore crontab] ********************************************************* task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 Tuesday 13 January 2026 18:35:09 -0500 (0:00:00.011) 0:00:09.158 ******* ok: [managed-node1] => { "changed": false, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/etc/crontab", "gid": 0, "group": "root", "md5sum": "c39252b11aad842fcb75e05c6a27eef8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:system_cron_spool_t:s0", "size": 451, "src": "/tmp/aide_eq3dlf7e_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Tuesday 13 January 2026 18:35:09 -0500 (0:00:00.357) 0:00:09.515 ******* changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_eq3dlf7e_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=10 changed=3 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.14", "end_time": "2026-01-13T23:35:09.079031+00:00Z", "host": "managed-node1", "message": "The task includes an option with an undefined variable.. 'ansible_distribution' is undefined\n\nThe error appears to be in '/tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml': line 6, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Debug0\n ^ here\n", "start_time": "2026-01-13T23:35:09.070024+00:00Z", "task_name": "Debug0", "task_path": "/tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:6" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Tuesday 13 January 2026 18:35:09 -0500 (0:00:00.513) 0:00:10.029 ******* =============================================================================== Install crontabs -------------------------------------------------------- 5.23s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 Gathering Facts --------------------------------------------------------- 2.34s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Delete tempfile --------------------------------------------------------- 0.51s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Create tempfile for crontab backup -------------------------------------- 0.49s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 Check if system is ostree ----------------------------------------------- 0.46s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Backup crontab ---------------------------------------------------------- 0.44s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 Restore crontab --------------------------------------------------------- 0.36s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 Run the role and set up cron -------------------------------------------- 0.03s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:39 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.03s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.03s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Set flag to indicate system is ostree ----------------------------------- 0.02s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:14 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.02s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.02s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.02s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Debug0 --------------------------------- 0.01s /tmp/collections-8af/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:6 Jan 13 18:34:59 managed-node1 systemd-logind[1328]: New session 7 of user root. ░░ Subject: A new session 7 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 7 has been created for the user root. ░░ ░░ The leading process of the session is 59420. Jan 13 18:34:59 managed-node1 systemd[1]: Started session-7.scope - Session 7 of User root. ░░ Subject: A start job for unit session-7.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-7.scope has finished successfully. ░░ ░░ The job identifier is 1342. Jan 13 18:34:59 managed-node1 sshd-session[59420]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Jan 13 18:34:59 managed-node1 sshd-session[59423]: Received disconnect from 10.31.44.245 port 37546:11: disconnected by user Jan 13 18:34:59 managed-node1 sshd-session[59423]: Disconnected from user root 10.31.44.245 port 37546 Jan 13 18:34:59 managed-node1 sshd-session[59420]: pam_unix(sshd:session): session closed for user root Jan 13 18:34:59 managed-node1 systemd[1]: session-7.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-7.scope has successfully entered the 'dead' state. Jan 13 18:34:59 managed-node1 systemd-logind[1328]: Session 7 logged out. Waiting for processes to exit. Jan 13 18:34:59 managed-node1 systemd-logind[1328]: Removed session 7. ░░ Subject: Session 7 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 7 has been terminated. Jan 13 18:35:00 managed-node1 sshd-session[59450]: Accepted publickey for root from 10.31.44.245 port 37550 ssh2: ECDSA SHA256:qKgR908uqpt8s1D3xrHQluQIBNufZOxBVVFr2J4GItk Jan 13 18:35:00 managed-node1 systemd-logind[1328]: New session 8 of user root. ░░ Subject: A new session 8 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 8 has been created for the user root. ░░ ░░ The leading process of the session is 59450. Jan 13 18:35:00 managed-node1 systemd[1]: Started session-8.scope - Session 8 of User root. ░░ Subject: A start job for unit session-8.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-8.scope has finished successfully. ░░ ░░ The job identifier is 1424. Jan 13 18:35:00 managed-node1 sshd-session[59450]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Jan 13 18:35:01 managed-node1 python3.12[59627]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Jan 13 18:35:02 managed-node1 python3.12[59805]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Jan 13 18:35:03 managed-node1 python3.12[59954]: ansible-ansible.legacy.dnf Invoked with name=['crontabs'] state=present allow_downgrade=False allowerasing=False autoremove=False bugfix=False cacheonly=False disable_gpg_check=False disable_plugin=[] disablerepo=[] download_only=False enable_plugin=[] enablerepo=[] exclude=[] installroot=/ install_repoquery=True install_weak_deps=True security=False skip_broken=False update_cache=False update_only=False validate_certs=True sslverify=True lock_timeout=30 use_backend=auto best=None conf_file=None disable_excludes=None download_dir=None list=None nobest=None releasever=None Jan 13 18:35:08 managed-node1 python3.12[60127]: ansible-tempfile Invoked with prefix=aide_ suffix=_crontab state=file path=None Jan 13 18:35:08 managed-node1 python3.12[60276]: ansible-ansible.legacy.copy Invoked with src=/etc/crontab dest=/tmp/aide_eq3dlf7e_crontab remote_src=True mode=preserve backup=False force=True follow=False unsafe_writes=False _original_basename=None content=NOT_LOGGING_PARAMETER validate=None directory_mode=None local_follow=None checksum=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None Jan 13 18:35:09 managed-node1 python3.12[60425]: ansible-ansible.legacy.copy Invoked with src=/tmp/aide_eq3dlf7e_crontab dest=/etc/crontab remote_src=True mode=preserve backup=False force=True follow=False unsafe_writes=False _original_basename=None content=NOT_LOGGING_PARAMETER validate=None directory_mode=None local_follow=None checksum=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None Jan 13 18:35:09 managed-node1 python3.12[60574]: ansible-file Invoked with path=/tmp/aide_eq3dlf7e_crontab state=absent recurse=False force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S unsafe_writes=False _original_basename=None _diff_peek=None src=None modification_time=None access_time=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None Jan 13 18:35:10 managed-node1 sshd-session[60599]: Accepted publickey for root from 10.31.44.245 port 42570 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Jan 13 18:35:10 managed-node1 systemd-logind[1328]: New session 9 of user root. ░░ Subject: A new session 9 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 9 has been created for the user root. ░░ ░░ The leading process of the session is 60599. Jan 13 18:35:10 managed-node1 systemd[1]: Started session-9.scope - Session 9 of User root. ░░ Subject: A start job for unit session-9.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-9.scope has finished successfully. ░░ ░░ The job identifier is 1506. Jan 13 18:35:10 managed-node1 sshd-session[60599]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Jan 13 18:35:10 managed-node1 sshd-session[60602]: Received disconnect from 10.31.44.245 port 42570:11: disconnected by user Jan 13 18:35:10 managed-node1 sshd-session[60602]: Disconnected from user root 10.31.44.245 port 42570 Jan 13 18:35:10 managed-node1 sshd-session[60599]: pam_unix(sshd:session): session closed for user root Jan 13 18:35:10 managed-node1 systemd[1]: session-9.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-9.scope has successfully entered the 'dead' state. Jan 13 18:35:10 managed-node1 systemd-logind[1328]: Session 9 logged out. Waiting for processes to exit. Jan 13 18:35:10 managed-node1 systemd-logind[1328]: Removed session 9. ░░ Subject: Session 9 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 9 has been terminated. Jan 13 18:35:10 managed-node1 sshd-session[60628]: Accepted publickey for root from 10.31.44.245 port 42572 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Jan 13 18:35:10 managed-node1 systemd-logind[1328]: New session 10 of user root. ░░ Subject: A new session 10 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 10 has been created for the user root. ░░ ░░ The leading process of the session is 60628. Jan 13 18:35:10 managed-node1 systemd[1]: Started session-10.scope - Session 10 of User root. ░░ Subject: A start job for unit session-10.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-10.scope has finished successfully. ░░ ░░ The job identifier is 1588. Jan 13 18:35:10 managed-node1 sshd-session[60628]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)