ansible-playbook [core 2.16.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-dJY executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/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 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-dJY/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-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Saturday 19 April 2025 07:25:37 -0400 (0:00:00.007) 0:00:00.007 ******** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Saturday 19 April 2025 07:25:38 -0400 (0:00:01.334) 0:00:01.341 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:14 Saturday 19 April 2025 07:25:39 -0400 (0:00:00.460) 0:00:01.801 ******** ok: [managed-node1] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [Install crontabs] ******************************************************** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 Saturday 19 April 2025 07:25:39 -0400 (0:00:00.030) 0:00:01.832 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crontabs TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 Saturday 19 April 2025 07:25:54 -0400 (0:00:15.376) 0:00:17.208 ******** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_97jjgh7d_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 Saturday 19 April 2025 07:25:54 -0400 (0:00:00.443) 0:00:17.651 ******** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_97jjgh7d_crontab", "gid": 0, "group": "root", "md5sum": "c39252b11aad842fcb75e05c6a27eef8", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 451, "src": "/etc/crontab", "state": "file", "uid": 0 } TASK [Run the role and set up cron] ******************************************** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:39 Saturday 19 April 2025 07:25:55 -0400 (0:00:00.477) 0:00:18.129 ******** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 19 April 2025 07:25:55 -0400 (0:00:00.049) 0:00:18.178 ******** included: /tmp/collections-dJY/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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 19 April 2025 07:25:55 -0400 (0:00:00.019) 0:00:18.198 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 19 April 2025 07:25:55 -0400 (0:00:00.033) 0:00:18.232 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 19 April 2025 07:25:55 -0400 (0:00:00.017) 0:00:18.249 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 19 April 2025 07:25:55 -0400 (0:00:00.017) 0:00:18.267 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 19 April 2025 07:25:55 -0400 (0:00:00.030) 0:00:18.298 ******** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.16-14.el8_5.1.x86_64" ] } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 19 April 2025 07:25:59 -0400 (0:00:04.075) 0:00:22.373 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 19 April 2025 07:25:59 -0400 (0:00:00.013) 0:00:22.387 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_config_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 19 April 2025 07:25:59 -0400 (0:00:00.015) 0:00:22.403 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:46.654120", "end": "2025-04-19 07:26:46.717538", "rc": 0, "start": "2025-04-19 07:26:00.063418" } STDOUT: Start timestamp: 2025-04-19 07:26:00 -0400 (AIDE 0.16) AIDE initialized database at /var/lib/aide/aide.db.new.gz Number of entries: 55426 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : qewHUmoiA4z9JiEvXR4zgA== SHA1 : HKiy8M2z4BoD2YDd9Av0h0Hy8cw= RMD160 : 8U9OahjbHJcKomP2JsnR56x0vM4= TIGER : TexAQqOJ5hDv8+uPKpfIz8tvd2b1ThE4 SHA256 : V9etmxmNpCEWfRv4VrLdwVWMQLY6ba0W M6fVg4VZPos= SHA512 : UbY1DaiGqkN1Fk+jyRZoq71rybxLbUfN 8VZ7eDm0ZiVmLTnFAOSpixEFSqnuOXjX smLxyQIk1Zh0L5Dmq4K6dA== End timestamp: 2025-04-19 07:26:46 -0400 (run time: 0m 46s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 19 April 2025 07:26:46 -0400 (0:00:47.099) 0:01:09.503 ******** changed: [managed-node1] => { "changed": true, "checksum": "18f27113a8988e6c5e59766100edfb2dcbe1aeb5", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "ae2a3556528acd2d5ff6b3b87f670cf7", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 3092085, "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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 19 April 2025 07:26:47 -0400 (0:00:00.394) 0:01:09.898 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 19 April 2025 07:26:47 -0400 (0:00:00.514) 0:01:10.412 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 19 April 2025 07:26:47 -0400 (0:00:00.044) 0:01:10.457 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 19 April 2025 07:26:47 -0400 (0:00:00.048) 0:01:10.505 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 19 April 2025 07:26:47 -0400 (0:00:00.043) 0:01:10.549 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 19 April 2025 07:26:47 -0400 (0:00:00.042) 0:01:10.592 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 19 April 2025 07:26:47 -0400 (0:00:00.042) 0:01:10.635 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 19 April 2025 07:26:47 -0400 (0:00:00.042) 0:01:10.677 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 19 April 2025 07:26:47 -0400 (0:00:00.042) 0:01:10.719 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 19 April 2025 07:26:48 -0400 (0:00:00.527) 0:01:11.247 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:47 Saturday 19 April 2025 07:26:48 -0400 (0:00:00.053) 0:01:11.300 ******** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:56 Saturday 19 April 2025 07:26:48 -0400 (0:00:00.365) 0:01:11.666 ******** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 19 April 2025 07:26:48 -0400 (0:00:00.063) 0:01:11.730 ******** included: /tmp/collections-dJY/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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 19 April 2025 07:26:49 -0400 (0:00:00.028) 0:01:11.759 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 19 April 2025 07:26:49 -0400 (0:00:00.053) 0:01:11.813 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 19 April 2025 07:26:49 -0400 (0:00:00.025) 0:01:11.838 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 19 April 2025 07:26:49 -0400 (0:00:00.027) 0:01:11.865 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 19 April 2025 07:26:49 -0400 (0:00:00.046) 0:01:11.912 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 19 April 2025 07:26:52 -0400 (0:00:02.950) 0:01:14.862 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.012) 0:01:14.875 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_config_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.016) 0:01:14.891 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.028) 0:01:14.920 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.030) 0:01:14.951 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.030) 0:01:14.981 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.029) 0:01:15.011 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.028) 0:01:15.040 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.030) 0:01:15.070 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.029) 0:01:15.099 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.029) 0:01:15.129 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.029) 0:01:15.158 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.029) 0:01:15.188 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.015) 0:01:15.204 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:62 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.018) 0:01:15.223 ******** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:71 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.344) 0:01:15.567 ******** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.051) 0:01:15.619 ******** included: /tmp/collections-dJY/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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.018) 0:01:15.638 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.033) 0:01:15.672 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.017) 0:01:15.689 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 19 April 2025 07:26:52 -0400 (0:00:00.016) 0:01:15.706 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 19 April 2025 07:26:53 -0400 (0:00:00.029) 0:01:15.735 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 19 April 2025 07:26:55 -0400 (0:00:02.902) 0:01:18.638 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 19 April 2025 07:26:55 -0400 (0:00:00.018) 0:01:18.656 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "aide_config_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 19 April 2025 07:26:55 -0400 (0:00:00.027) 0:01:18.684 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 19 April 2025 07:26:55 -0400 (0:00:00.047) 0:01:18.731 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 19 April 2025 07:26:56 -0400 (0:00:00.048) 0:01:18.780 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 19 April 2025 07:26:56 -0400 (0:00:00.047) 0:01:18.827 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 19 April 2025 07:26:56 -0400 (0:00:00.047) 0:01:18.875 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 19 April 2025 07:26:56 -0400 (0:00:00.046) 0:01:18.921 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 19 April 2025 07:26:56 -0400 (0:00:00.057) 0:01:18.979 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 19 April 2025 07:26:56 -0400 (0:00:00.045) 0:01:19.025 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 19 April 2025 07:26:56 -0400 (0:00:00.045) 0:01:19.070 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 19 April 2025 07:26:56 -0400 (0:00:00.044) 0:01:19.115 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 19 April 2025 07:26:56 -0400 (0:00:00.046) 0:01:19.161 ******** 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-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 19 April 2025 07:26:56 -0400 (0:00:00.051) 0:01:19.213 ******** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:77 Saturday 19 April 2025 07:26:56 -0400 (0:00:00.395) 0:01:19.608 ******** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 Saturday 19 April 2025 07:26:57 -0400 (0:00:00.359) 0:01:19.967 ******** 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_97jjgh7d_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Saturday 19 April 2025 07:26:57 -0400 (0:00:00.351) 0:01:20.319 ******** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_97jjgh7d_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=22 changed=11 unreachable=0 failed=0 skipped=49 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 19 April 2025 07:26:57 -0400 (0:00:00.368) 0:01:20.688 ******** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 47.10s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 15.38s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:18 fedora.linux_system_roles.aide : Ensure required packages are installed --- 4.08s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.95s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 2.90s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.33s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.53s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.51s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Backup crontab ---------------------------------------------------------- 0.48s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:30 Check if system is ostree ----------------------------------------------- 0.46s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:9 Create tempfile for crontab backup -------------------------------------- 0.44s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:24 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.40s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.39s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Delete tempfile --------------------------------------------------------- 0.37s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:94 Check file content ------------------------------------------------------ 0.37s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:47 Ensure aide cron is removed --------------------------------------------- 0.36s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:77 Restore crontab --------------------------------------------------------- 0.35s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:87 Ensure file is not changed ---------------------------------------------- 0.34s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:62 Run the role and and do not touch cron ---------------------------------- 0.06s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:56 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.06s /tmp/collections-dJY/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71