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-KOt executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.5 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-KOt/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-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Saturday 25 January 2025 06:23:35 -0500 (0:00:00.007) 0:00:00.007 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, 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 [Install crontabs] ******************************************************** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Saturday 25 January 2025 06:23:39 -0500 (0:00:04.042) 0:00:04.050 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crontabs TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Saturday 25 January 2025 06:23:56 -0500 (0:00:17.018) 0:00:21.068 ****** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_1k6u9dlh_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Saturday 25 January 2025 06:23:56 -0500 (0:00:00.442) 0:00:21.511 ****** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_1k6u9dlh_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-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:25 Saturday 25 January 2025 06:23:57 -0500 (0:00:00.445) 0:00:21.956 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 25 January 2025 06:23:57 -0500 (0:00:00.048) 0:00:22.005 ****** included: /tmp/collections-KOt/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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 25 January 2025 06:23:57 -0500 (0:00:00.019) 0:00:22.025 ****** 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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 25 January 2025 06:23:57 -0500 (0:00:00.033) 0:00:22.058 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] *** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 25 January 2025 06:23:57 -0500 (0:00:00.419) 0:00:22.478 ****** ok: [managed-node1] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 25 January 2025 06:23:57 -0500 (0:00:00.022) 0:00:22.500 ****** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 25 January 2025 06:23:57 -0500 (0:00:00.030) 0:00:22.531 ****** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.16-103.el9.x86_64" ] } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 25 January 2025 06:24:00 -0500 (0:00:03.123) 0:00:25.654 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 25 January 2025 06:24:00 -0500 (0:00:00.018) 0:00:25.673 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 25 January 2025 06:24:00 -0500 (0:00:00.016) 0:00:25.689 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:03:48.151111", "end": "2025-01-25 06:27:49.429823", "rc": 0, "start": "2025-01-25 06:24:01.278712" } STDOUT: Start timestamp: 2025-01-25 06:24:01 -0500 (AIDE 0.16) AIDE initialized database at /var/lib/aide/aide.db.new.gz Number of entries: 52523 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : jZkdetSWttBv7E0W4P7qew== SHA1 : hInux965roPCoEr9AGvvCLS/eZ8= RMD160 : dL95kmlDfhMYNGXfjtDT22Fvrlg= TIGER : E7yhPCG+n8OenlJ9dLIGri3OXdCJKjRn SHA256 : aO8SMIS0fxyjcFsLAanf0A+dshlYDFbB E+GE/sK9O7I= SHA512 : E0qSzVR3soYGlzTYDrmoLumAkop9zqCx s8Dv9lrmcp5uZYX3XoXuhtPpHJ12+32p 48cCDLJAne4Sw0FPjHCS5w== End timestamp: 2025-01-25 06:27:49 -0500 (run time: 3m 48s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 25 January 2025 06:27:49 -0500 (0:03:48.694) 0:04:14.383 ****** changed: [managed-node1] => { "changed": true, "checksum": "36c348e3f97a033876ae0e96ff6a57e79e79428d", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "761c955c1d5b18305426d5e009c155cd", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 2867970, "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 25 January 2025 06:27:49 -0500 (0:00:00.408) 0:04:14.792 ****** changed: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 25 January 2025 06:27:50 -0500 (0:00:00.610) 0:04:15.403 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 25 January 2025 06:27:50 -0500 (0:00:00.035) 0:04:15.438 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 25 January 2025 06:27:50 -0500 (0:00:00.044) 0:04:15.482 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 25 January 2025 06:27:50 -0500 (0:00:00.051) 0:04:15.534 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 25 January 2025 06:27:50 -0500 (0:00:00.045) 0:04:15.579 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 25 January 2025 06:27:50 -0500 (0:00:00.042) 0:04:15.622 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 25 January 2025 06:27:50 -0500 (0:00:00.070) 0:04:15.693 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 25 January 2025 06:27:50 -0500 (0:00:00.074) 0:04:15.768 ****** changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary] *** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 25 January 2025 06:27:51 -0500 (0:00:00.625) 0:04:16.393 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not aide_cron_check | bool", "skip_reason": "Conditional result was False" } TASK [Check file content] ****************************************************** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Saturday 25 January 2025 06:27:51 -0500 (0:00:00.043) 0:04:16.436 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42 Saturday 25 January 2025 06:27:51 -0500 (0:00:00.364) 0:04:16.801 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 25 January 2025 06:27:51 -0500 (0:00:00.057) 0:04:16.858 ****** included: /tmp/collections-KOt/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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 25 January 2025 06:27:51 -0500 (0:00:00.019) 0:04:16.877 ****** 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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 25 January 2025 06:27:52 -0500 (0:00:00.033) 0:04:16.911 ****** 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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 25 January 2025 06:27:52 -0500 (0:00:00.023) 0:04:16.934 ****** 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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 25 January 2025 06:27:52 -0500 (0:00:00.018) 0:04:16.952 ****** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 25 January 2025 06:27:52 -0500 (0:00:00.029) 0:04:16.982 ****** ok: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 25 January 2025 06:27:53 -0500 (0:00:01.259) 0:04:18.242 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.012) 0:04:18.254 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.017) 0:04:18.272 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_init | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.028) 0:04:18.301 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_init | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.028) 0:04:18.329 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_init | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.027) 0:04:18.357 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.028) 0:04:18.385 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.027) 0:04:18.413 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.028) 0:04:18.442 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.027) 0:04:18.469 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.028) 0:04:18.497 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.026) 0:04:18.524 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.027) 0:04:18.552 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_cron_check is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary] *** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.016) 0:04:18.568 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_cron_check is not none", "skip_reason": "Conditional result was False" } TASK [Ensure file is not changed] ********************************************** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Saturday 25 January 2025 06:27:53 -0500 (0:00:00.018) 0:04:18.586 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Saturday 25 January 2025 06:27:54 -0500 (0:00:00.337) 0:04:18.924 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 25 January 2025 06:27:54 -0500 (0:00:00.090) 0:04:19.015 ****** included: /tmp/collections-KOt/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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 25 January 2025 06:27:54 -0500 (0:00:00.033) 0:04:19.048 ****** 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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 25 January 2025 06:27:54 -0500 (0:00:00.050) 0:04:19.099 ****** 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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 25 January 2025 06:27:54 -0500 (0:00:00.027) 0:04:19.127 ****** 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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 25 January 2025 06:27:54 -0500 (0:00:00.023) 0:04:19.150 ****** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 25 January 2025 06:27:54 -0500 (0:00:00.047) 0:04:19.198 ****** ok: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 25 January 2025 06:27:55 -0500 (0:00:01.260) 0:04:20.459 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 25 January 2025 06:27:55 -0500 (0:00:00.019) 0:04:20.478 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 25 January 2025 06:27:55 -0500 (0:00:00.027) 0:04:20.506 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_init | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 25 January 2025 06:27:55 -0500 (0:00:00.047) 0:04:20.554 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_init | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 25 January 2025 06:27:55 -0500 (0:00:00.047) 0:04:20.601 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_init | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 25 January 2025 06:27:55 -0500 (0:00:00.047) 0:04:20.648 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 25 January 2025 06:27:55 -0500 (0:00:00.046) 0:04:20.695 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 25 January 2025 06:27:55 -0500 (0:00:00.046) 0:04:20.742 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 25 January 2025 06:27:55 -0500 (0:00:00.051) 0:04:20.793 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 25 January 2025 06:27:55 -0500 (0:00:00.044) 0:04:20.837 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 25 January 2025 06:27:55 -0500 (0:00:00.048) 0:04:20.886 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 25 January 2025 06:27:56 -0500 (0:00:00.045) 0:04:20.931 ****** skipping: [managed-node1] => { "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-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 25 January 2025 06:27:56 -0500 (0:00:00.046) 0:04:20.978 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_cron_check | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary] *** task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 25 January 2025 06:27:56 -0500 (0:00:00.050) 0:04:21.028 ****** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Saturday 25 January 2025 06:27:56 -0500 (0:00:00.385) 0:04:21.414 ****** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Saturday 25 January 2025 06:27:56 -0500 (0:00:00.355) 0:04:21.769 ****** changed: [managed-node1] => { "changed": true, "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_1k6u9dlh_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Saturday 25 January 2025 06:27:57 -0500 (0:00:00.328) 0:04:22.097 ****** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_1k6u9dlh_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=25 changed=11 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 25 January 2025 06:27:57 -0500 (0:00:00.323) 0:04:22.421 ****** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database ------------- 228.69s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 17.02s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Gathering Facts --------------------------------------------------------- 4.04s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 3.12s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.26s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.26s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.63s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.61s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Backup crontab ---------------------------------------------------------- 0.45s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Create tempfile for crontab backup -------------------------------------- 0.44s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.42s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.41s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.39s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Check file content ------------------------------------------------------ 0.36s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Ensure aide cron is removed --------------------------------------------- 0.36s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Ensure file is not changed ---------------------------------------------- 0.34s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Restore crontab --------------------------------------------------------- 0.33s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Delete tempfile --------------------------------------------------------- 0.32s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Run the role and disable cron ------------------------------------------- 0.09s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.07s /tmp/collections-KOt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104