ansible-playbook [core 2.17.7] 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-Hzv executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/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_check_cron.yml ************************************************* 1 plays in /tmp/collections-Hzv/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-Hzv/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Tuesday 07 January 2025 12:40:57 -0500 (0:00:00.008) 0:00:00.008 ******* [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 [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-Hzv/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Tuesday 07 January 2025 12:40:59 -0500 (0:00:02.569) 0:00:02.578 ******* changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_y2ep8eg3_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-Hzv/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:12 Tuesday 07 January 2025 12:41:00 -0500 (0:00:00.610) 0:00:03.188 ******* fatal: [managed-node2]: FAILED! => { "changed": false } MSG: Source /etc/crontab not found PLAY RECAP ********************************************************************* managed-node2 : ok=2 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Tuesday 07 January 2025 12:41:01 -0500 (0:00:00.684) 0:00:03.873 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 2.57s /tmp/collections-Hzv/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Backup crontab ---------------------------------------------------------- 0.68s /tmp/collections-Hzv/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:12 Create tempfile for crontab backup -------------------------------------- 0.61s /tmp/collections-Hzv/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6