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-5VO 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-5VO/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml PLAY [Ensure that the cron is set up] ****************************************** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 19 December 2024 20:37:36 -0500 (0:00:00.010) 0:00:00.011 ***** included: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ****** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Thursday 19 December 2024 20:37:36 -0500 (0:00:00.017) 0:00:00.028 ***** [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 [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Thursday 19 December 2024 20:37:37 -0500 (0:00:00.837) 0:00:00.866 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] *** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Thursday 19 December 2024 20:37:37 -0500 (0:00:00.497) 0:00:01.364 ***** ok: [managed-node2] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Thursday 19 December 2024 20:37:37 -0500 (0:00:00.023) 0:00:01.387 ***** skipping: [managed-node2] => (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-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Thursday 19 December 2024 20:37:37 -0500 (0:00:00.051) 0:00:01.438 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Thursday 19 December 2024 20:37:39 -0500 (0:00:01.946) 0:00:03.385 ***** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Thursday 19 December 2024 20:37:39 -0500 (0:00:00.013) 0:00:03.399 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "aide_db_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Thursday 19 December 2024 20:37:39 -0500 (0:00:00.037) 0:00:03.436 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:04:02.235723", "end": "2024-12-19 20:41:42.520434", "rc": 0, "start": "2024-12-19 20:37:40.284711" } STDOUT: Start timestamp: 2024-12-19 20:37:40 -0500 (AIDE 0.18.6) AIDE successfully initialized database. New AIDE database written to /var/lib/aide/aide.db.new.gz Number of entries: 58125 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : pjL09LIZxgXHcKw4Sosjyg== SHA1 : tmzXtswzxkMGrO5CswyRTdocsmQ= SHA256 : LrpqmKN2Z11/euMFRr/xXBYFVuzrJfFz jlGgZ0OxAn4= SHA512 : sYD+MZ6vh0ln1hFa5Sn8/Kvi0U4ZiitL YNSxkFw8Nu9UsHjz00pt9qJi1L47BvuB tru/WdKd2frM9UeSWTSjAQ== RMD160 : qMh9w4WrKvuFrEhgDxI+4SStk4E= TIGER : gfNcEd6LHdYnMpw5xLh6r7hJAt1HZSFg CRC32 : TVBuSA== WHIRLPOOL : h87CLWwCQp0agUuYp4je9v8k3is3aUKT y0fz8ewAok3gOVcjzyrxGJeBNLwd0AaP 7WW3ug+ay7XPNCorJKfn9g== GOST : rhryp5FANSDu8Zq1NfhZreNajTq2tJzz t5wBMXixFTo= STRIBOG256: Z5WKZ3GGWGKSxqsukUS2qwYQEfByKF09 1Ofn84qyHSU= STRIBOG512: z/OBCB3EJ4WPeeYw+P7FhzGiKStsyqUw z+mibyltRfxdRTnlRfR58dSMRDdN4ceQ 8PAD/8jb8obk5ieqqVPb0Q== End timestamp: 2024-12-19 20:41:42 -0500 (run time: 4m 2s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Thursday 19 December 2024 20:41:42 -0500 (0:04:02.755) 0:04:06.192 ***** changed: [managed-node2] => { "changed": true, "checksum": "8cb1306df4d77b9f86b7784d36055a05bb36d4d2", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "28a00ba6b7a246d10248322991012e9d", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 4883360, "src": "/var/lib/aide/aide.db.new.gz", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Thursday 19 December 2024 20:41:43 -0500 (0:00:00.616) 0:04:06.808 ***** changed: [managed-node2] => { "changed": true, "path": "/var/lib/aide/aide.db.new.gz", "state": "absent" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Thursday 19 December 2024 20:41:43 -0500 (0:00:00.504) 0:04:07.312 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "aide_fetch_db | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Thursday 19 December 2024 20:41:43 -0500 (0:00:00.043) 0:04:07.356 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "aide_fetch_db | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Thursday 19 December 2024 20:41:43 -0500 (0:00:00.032) 0:04:07.388 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "aide_check | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check against AIDE reference database] *** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:80 Thursday 19 December 2024 20:41:43 -0500 (0:00:00.029) 0:04:07.418 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "aide_check | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update AIDE database] ******************* task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:88 Thursday 19 December 2024 20:41:43 -0500 (0:00:00.045) 0:04:07.463 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:95 Thursday 19 December 2024 20:41:43 -0500 (0:00:00.044) 0:04:07.508 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:100 Thursday 19 December 2024 20:41:43 -0500 (0:00:00.043) 0:04:07.551 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update aide check cron configuration if necessary] *** task path: /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:105 Thursday 19 December 2024 20:41:43 -0500 (0:00:00.035) 0:04:07.587 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "rc": 257 } MSG: Destination /etc/crontab does not exist ! PLAY RECAP ********************************************************************* managed-node2 : ok=8 changed=3 unreachable=0 failed=1 skipped=10 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Thursday 19 December 2024 20:41:44 -0500 (0:00:00.482) 0:04:08.069 ***** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database ------------- 242.76s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.95s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.84s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.62s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.50s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.50s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.48s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:105 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.05s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.05s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:80 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.04s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:88 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.04s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.04s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:95 fedora.linux_system_roles.aide : Generate "/etc/aide.conf" -------------- 0.04s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.04s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:100 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.03s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.03s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.02s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.02s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Ensure required services are enabled and started --- 0.01s /tmp/collections-5VO/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13