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.13/site-packages/ansible ansible collection location = /tmp/collections-MJN executable location = /usr/local/bin/ansible-playbook python version = 3.13.1 (main, Dec 9 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.13) 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-MJN/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-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Saturday 25 January 2025 06:23:02 -0500 (0:00:00.008) 0:00:00.008 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3, 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-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Saturday 25 January 2025 06:23:05 -0500 (0:00:03.293) 0:00:03.302 ****** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: crontabs-1.11^20190603git9e74f2d-4.fc41.noarch", "Installed: cronie-1.7.2-2.fc41.x86_64", "Installed: cronie-anacron-1.7.2-2.fc41.x86_64" ] } lsrpackages: crontabs TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Saturday 25 January 2025 06:23:17 -0500 (0:00:11.576) 0:00:14.878 ****** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_tm8gozli_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Saturday 25 January 2025 06:23:18 -0500 (0:00:00.536) 0:00:15.415 ****** changed: [managed-node1] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_tm8gozli_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-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:25 Saturday 25 January 2025 06:23:18 -0500 (0:00:00.522) 0:00:15.937 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 25 January 2025 06:23:18 -0500 (0:00:00.039) 0:00:15.976 ****** included: /tmp/collections-MJN/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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 25 January 2025 06:23:18 -0500 (0:00:00.019) 0:00:15.996 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 25 January 2025 06:23:18 -0500 (0:00:00.033) 0:00:16.029 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 25 January 2025 06:23:19 -0500 (0:00:00.508) 0:00:16.538 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 25 January 2025 06:23:19 -0500 (0:00:00.023) 0:00:16.562 ****** 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=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-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 25 January 2025 06:23:19 -0500 (0:00:00.041) 0:00:16.603 ****** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.18.6-5.fc41.x86_64" ] } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 25 January 2025 06:23:21 -0500 (0:00:01.755) 0:00:18.358 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 25 January 2025 06:23:21 -0500 (0:00:00.015) 0:00:18.373 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 25 January 2025 06:23:21 -0500 (0:00:00.018) 0:00:18.392 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:38.764433", "end": "2025-01-25 06:24:00.363077", "rc": 0, "start": "2025-01-25 06:23:21.598644" } STDOUT: Start timestamp: 2025-01-25 06:23:21 -0500 (AIDE 0.18.6) AIDE successfully initialized database. New AIDE database written to /var/lib/aide/aide.db.new.gz Number of entries: 57826 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : Fwu9Yble9eSQWnJBtqD3hg== SHA1 : p0dyQXPJaRw8rXTw6ap251EU2XM= SHA256 : FB6ljQdIpkGrY1HfhDxzjdJfMVodmdSQ U0iF4CpKELM= SHA512 : frCyDE/cq83sQTP3zI6JzFseyG8/6yHR 9K5giX+dU9ITPNTGvSq60bnkXOHQleEl 03VXW5WAizua9zfyesf1uA== RMD160 : HZDm1CCSc1ppTwY3o1TU5m+XlPg= TIGER : 0qMiAzR9BP9oShQfQtB4iCWQSSEUcWXp CRC32 : VeK47Q== WHIRLPOOL : 1b4T0etHa71MQOAtOEqRyTENDwQvO++H FfZW/G6Xpcy43q/XpUls+8791Jg4xzoI QgA+V3klhHUDBEwjvTfYgw== GOST : vMzZ3TbYFvnBomMrRh1LjaMkR6gdvkvZ sATIvep/V4c= STRIBOG256: 83HrfQUS6Q9LjOB/y7PLAudDPgbQ2fz7 vT3ZajM/Dwk= STRIBOG512: MQBJqZCUFFaH4yakUVFHDYGG9CumZMh9 8zUHGlXm3U5H0toIe8UyYOa0QvuTxzAt TGfXCN62emi3R5itb+vuxg== End timestamp: 2025-01-25 06:24:00 -0500 (run time: 0m 39s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 25 January 2025 06:24:00 -0500 (0:00:39.360) 0:00:57.752 ****** changed: [managed-node1] => { "changed": true, "checksum": "e33784e09e363b34f01fa6b3e69a001f7efef600", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "98a6862d7d33a77ef4ddfbb84f8fb70b", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 4820568, "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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 25 January 2025 06:24:00 -0500 (0:00:00.468) 0:00:58.220 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 25 January 2025 06:24:01 -0500 (0:00:00.560) 0:00:58.781 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 25 January 2025 06:24:01 -0500 (0:00:00.025) 0:00:58.807 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 25 January 2025 06:24:01 -0500 (0:00:00.024) 0:00:58.831 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 25 January 2025 06:24:01 -0500 (0:00:00.024) 0:00:58.856 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 25 January 2025 06:24:01 -0500 (0:00:00.024) 0:00:58.881 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 25 January 2025 06:24:01 -0500 (0:00:00.025) 0:00:58.907 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 25 January 2025 06:24:01 -0500 (0:00:00.028) 0:00:58.935 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 25 January 2025 06:24:01 -0500 (0:00:00.025) 0:00:58.960 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 25 January 2025 06:24:02 -0500 (0:00:00.525) 0:00:59.486 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Saturday 25 January 2025 06:24:02 -0500 (0:00:00.032) 0:00:59.519 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42 Saturday 25 January 2025 06:24:02 -0500 (0:00:00.383) 0:00:59.902 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 25 January 2025 06:24:02 -0500 (0:00:00.041) 0:00:59.944 ****** included: /tmp/collections-MJN/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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 25 January 2025 06:24:02 -0500 (0:00:00.020) 0:00:59.964 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 25 January 2025 06:24:02 -0500 (0:00:00.029) 0:00:59.993 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 25 January 2025 06:24:02 -0500 (0:00:00.017) 0:01:00.011 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 25 January 2025 06:24:02 -0500 (0:00:00.019) 0:01:00.031 ****** 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=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-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 25 January 2025 06:24:02 -0500 (0:00:00.032) 0:01:00.063 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 25 January 2025 06:24:04 -0500 (0:00:01.274) 0:01:01.338 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.020) 0:01:01.359 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.025) 0:01:01.385 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.037) 0:01:01.423 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.037) 0:01:01.460 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.036) 0:01:01.497 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.035) 0:01:01.533 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.038) 0:01:01.571 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.038) 0:01:01.609 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.037) 0:01:01.646 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.039) 0:01:01.685 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.039) 0:01:01.725 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.039) 0:01:01.765 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.027) 0:01:01.792 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.035) 0:01:01.828 ****** ok: [managed-node1] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.414) 0:01:02.242 ****** included: fedora.linux_system_roles.aide for managed-node1 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 25 January 2025 06:24:04 -0500 (0:00:00.064) 0:01:02.307 ****** included: /tmp/collections-MJN/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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 25 January 2025 06:24:05 -0500 (0:00:00.022) 0:01:02.330 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 25 January 2025 06:24:05 -0500 (0:00:00.035) 0:01:02.365 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 25 January 2025 06:24:05 -0500 (0:00:00.018) 0:01:02.384 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 25 January 2025 06:24:05 -0500 (0:00:00.017) 0:01:02.402 ****** 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=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-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 25 January 2025 06:24:05 -0500 (0:00:00.038) 0:01:02.440 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 25 January 2025 06:24:06 -0500 (0:00:01.282) 0:01:03.723 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.016) 0:01:03.740 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.019) 0:01:03.760 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.025) 0:01:03.786 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.025) 0:01:03.811 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.023) 0:01:03.835 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.024) 0:01:03.859 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.026) 0:01:03.885 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.024) 0:01:03.910 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.027) 0:01:03.938 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.028) 0:01:03.966 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.040) 0:01:04.007 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.039) 0:01:04.047 ****** 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-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 25 January 2025 06:24:06 -0500 (0:00:00.048) 0:01:04.095 ****** changed: [managed-node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Saturday 25 January 2025 06:24:07 -0500 (0:00:00.436) 0:01:04.531 ****** changed: [managed-node1] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Saturday 25 January 2025 06:24:07 -0500 (0:00:00.390) 0:01:04.921 ****** 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_tm8gozli_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Saturday 25 January 2025 06:24:07 -0500 (0:00:00.383) 0:01:05.305 ****** changed: [managed-node1] => { "changed": true, "path": "/tmp/aide_tm8gozli_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=25 changed=12 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 25 January 2025 06:24:08 -0500 (0:00:00.381) 0:01:05.686 ****** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 39.36s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 11.58s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Gathering Facts --------------------------------------------------------- 3.29s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.76s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.28s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.27s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.56s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Create tempfile for crontab backup -------------------------------------- 0.54s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.53s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Backup crontab ---------------------------------------------------------- 0.52s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.51s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.47s /tmp/collections-MJN/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.44s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Ensure file is not changed ---------------------------------------------- 0.41s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Ensure aide cron is removed --------------------------------------------- 0.39s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Restore crontab --------------------------------------------------------- 0.38s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Check file content ------------------------------------------------------ 0.38s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Delete tempfile --------------------------------------------------------- 0.38s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Run the role and disable cron ------------------------------------------- 0.06s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.05s /tmp/collections-MJN/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109