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-Iiw executable location = /usr/local/bin/ansible-playbook python version = 3.13.0 (main, Oct 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.13) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_check_cron.yml ************************************************* 1 plays in /tmp/collections-Iiw/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-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 Tuesday 07 January 2025 13:10:34 -0500 (0:00:00.007) 0:00:00.007 ******* [WARNING]: Platform linux on host managed-node2 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-node2] TASK [Install crontabs] ******************************************************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Tuesday 07 January 2025 13:10:37 -0500 (0:00:02.446) 0:00:02.453 ******* changed: [managed-node2] => { "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" ] } TASK [Create tempfile for crontab backup] ************************************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Tuesday 07 January 2025 13:10:50 -0500 (0:00:13.123) 0:00:15.577 ******* changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/aide_tubw5qcy_crontab", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Backup crontab] ********************************************************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 Tuesday 07 January 2025 13:10:51 -0500 (0:00:00.551) 0:00:16.128 ******* changed: [managed-node2] => { "changed": true, "checksum": "09767e814c22a93daba80e274dcbe00e0e7a8b99", "dest": "/tmp/aide_tubw5qcy_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-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:25 Tuesday 07 January 2025 13:10:51 -0500 (0:00:00.536) 0:00:16.664 ******* included: fedora.linux_system_roles.aide for managed-node2 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Tuesday 07 January 2025 13:10:51 -0500 (0:00:00.034) 0:00:16.698 ******* included: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ****** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Tuesday 07 January 2025 13:10:51 -0500 (0:00:00.019) 0:00:16.718 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Tuesday 07 January 2025 13:10:51 -0500 (0:00:00.028) 0:00:16.747 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Tuesday 07 January 2025 13:10:52 -0500 (0:00:00.517) 0:00:17.265 ******* ok: [managed-node2] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Tuesday 07 January 2025 13:10:52 -0500 (0:00:00.024) 0:00:17.289 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Tuesday 07 January 2025 13:10:52 -0500 (0:00:00.034) 0:00:17.324 ******* changed: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Tuesday 07 January 2025 13:10:54 -0500 (0:00:01.802) 0:00:19.126 ******* skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Tuesday 07 January 2025 13:10:54 -0500 (0:00:00.026) 0:00:19.153 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_db_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Tuesday 07 January 2025 13:10:54 -0500 (0:00:00.028) 0:00:19.181 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:39.169416", "end": "2025-01-07 13:11:33.820246", "rc": 0, "start": "2025-01-07 13:10:54.650830" } STDOUT: Start timestamp: 2025-01-07 13:10:54 -0500 (AIDE 0.18.6) AIDE successfully initialized database. New AIDE database written to /var/lib/aide/aide.db.new.gz Number of entries: 57792 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : /Q4Z+JE2HbCwOIfyV0L+Og== SHA1 : jG22UCeV4LidhV6r8pPfkc5PcPU= SHA256 : CaUK+ps5E0dm1RTbJieM8ijE1mJNUAEc Iju58aXR5Xk= SHA512 : 9JTg+eqauv1zMTbvyxzsZ+gBr/EeEY1n 6EjJaH81325vo0SxEaI4cEZuZVw6ci4c dENhTWeJxbei7cQuwRL65A== RMD160 : xfddudolPvRuircZe8fDcb62paU= TIGER : odBxYlx1pxJCMidysMR7XJE+Py8b1Qcr CRC32 : 9yH41Q== WHIRLPOOL : N8Iwng/+Du3ggwGrrOobw8N9Tpxvz1B5 22GTRKGVsAMdi6HS9VnUd4X5jDP2Um0J +FPTS+yrQCemSWdTbPIfLQ== GOST : OVemXnDLhEn/mqqBSpwHVFfDOLvVgoTL Y2jpfPzRQy8= STRIBOG256: sFZVO92HEj4VmWuGRunaXS4YPGu2koA/ YBEBPT1vWu4= STRIBOG512: tn3ZldfH3/OZf3I7DYxmFnroi3bTh+Ft YgwZcyyLAjXBhzIF2A4CznXvRQkHk5Mi 7q5hVG5d8Bqn8MJdLQ0DQQ== End timestamp: 2025-01-07 13:11:33 -0500 (run time: 0m 39s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Tuesday 07 January 2025 13:11:33 -0500 (0:00:39.734) 0:00:58.916 ******* changed: [managed-node2] => { "changed": true, "checksum": "cca046adfde5fd80160cffc276d027587577267d", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "bf4d6f07eb3b5914a6e7f83d11362c1f", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 4816988, "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Tuesday 07 January 2025 13:11:34 -0500 (0:00:00.439) 0:00:59.355 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/aide/aide.db.new.gz", "state": "absent" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Tuesday 07 January 2025 13:11:34 -0500 (0:00:00.485) 0:00:59.840 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_fetch_db | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Tuesday 07 January 2025 13:11:34 -0500 (0:00:00.028) 0:00:59.869 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_fetch_db | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Tuesday 07 January 2025 13:11:34 -0500 (0:00:00.030) 0:00:59.900 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_check | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check against AIDE reference database] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Tuesday 07 January 2025 13:11:34 -0500 (0:00:00.028) 0:00:59.928 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_check | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update AIDE database] ******************* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Tuesday 07 January 2025 13:11:34 -0500 (0:00:00.024) 0:00:59.953 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Tuesday 07 January 2025 13:11:34 -0500 (0:00:00.026) 0:00:59.980 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Tuesday 07 January 2025 13:11:34 -0500 (0:00:00.024) 0:01:00.005 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update aide check cron configuration if necessary] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Tuesday 07 January 2025 13:11:34 -0500 (0:00:00.026) 0:01:00.031 ******* changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Tuesday 07 January 2025 13:11:35 -0500 (0:00:00.527) 0:01:00.558 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not aide_cron_check | bool", "skip_reason": "Conditional result was False" } TASK [Check file content] ****************************************************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 Tuesday 07 January 2025 13:11:35 -0500 (0:00:00.033) 0:01:00.592 ******* ok: [managed-node2] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and and do not touch cron] ********************************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42 Tuesday 07 January 2025 13:11:35 -0500 (0:00:00.414) 0:01:01.006 ******* included: fedora.linux_system_roles.aide for managed-node2 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Tuesday 07 January 2025 13:11:36 -0500 (0:00:00.050) 0:01:01.056 ******* included: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ****** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Tuesday 07 January 2025 13:11:36 -0500 (0:00:00.032) 0:01:01.089 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Tuesday 07 January 2025 13:11:36 -0500 (0:00:00.044) 0:01:01.134 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Tuesday 07 January 2025 13:11:36 -0500 (0:00:00.027) 0:01:01.161 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Tuesday 07 January 2025 13:11:36 -0500 (0:00:00.029) 0:01:01.190 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Tuesday 07 January 2025 13:11:36 -0500 (0:00:00.035) 0:01:01.226 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Tuesday 07 January 2025 13:11:37 -0500 (0:00:01.291) 0:01:02.517 ******* skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.012) 0:01:02.530 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_db_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.022) 0:01:02.552 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.038) 0:01:02.591 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.031) 0:01:02.622 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.023) 0:01:02.646 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_fetch_db | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.024) 0:01:02.670 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_fetch_db | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.025) 0:01:02.695 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_check | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check against AIDE reference database] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.024) 0:01:02.720 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_check | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update AIDE database] ******************* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.024) 0:01:02.745 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.023) 0:01:02.768 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.024) 0:01:02.792 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update aide check cron configuration if necessary] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.023) 0:01:02.816 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.017) 0:01:02.834 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Tuesday 07 January 2025 13:11:37 -0500 (0:00:00.020) 0:01:02.855 ******* ok: [managed-node2] => { "backup": "", "changed": false, "failed_when_result": false } TASK [Run the role and disable cron] ******************************************* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57 Tuesday 07 January 2025 13:11:38 -0500 (0:00:00.381) 0:01:03.237 ******* included: fedora.linux_system_roles.aide for managed-node2 TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Tuesday 07 January 2025 13:11:38 -0500 (0:00:00.050) 0:01:03.287 ******* included: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ****** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Tuesday 07 January 2025 13:11:38 -0500 (0:00:00.019) 0:01:03.306 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Tuesday 07 January 2025 13:11:38 -0500 (0:00:00.029) 0:01:03.336 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Tuesday 07 January 2025 13:11:38 -0500 (0:00:00.017) 0:01:03.354 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Tuesday 07 January 2025 13:11:38 -0500 (0:00:00.018) 0:01:03.372 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Tuesday 07 January 2025 13:11:38 -0500 (0:00:00.031) 0:01:03.403 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Tuesday 07 January 2025 13:11:39 -0500 (0:00:01.291) 0:01:04.694 ******* skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.013) 0:01:04.708 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_db_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.025) 0:01:04.733 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.026) 0:01:04.759 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.025) 0:01:04.785 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.026) 0:01:04.811 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_fetch_db | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.026) 0:01:04.838 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_fetch_db | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.026) 0:01:04.865 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_check | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check against AIDE reference database] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.026) 0:01:04.891 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_check | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update AIDE database] ******************* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.026) 0:01:04.918 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.026) 0:01:04.944 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.026) 0:01:04.971 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "aide_update | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update aide check cron configuration if necessary] *** task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.026) 0:01:04.997 ******* skipping: [managed-node2] => { "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-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Tuesday 07 January 2025 13:11:39 -0500 (0:00:00.031) 0:01:05.029 ******* changed: [managed-node2] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [Ensure aide cron is removed] ********************************************* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Tuesday 07 January 2025 13:11:40 -0500 (0:00:00.407) 0:01:05.436 ******* changed: [managed-node2] => { "backup": "", "changed": true, "failed_when_result": false } MSG: line added TASK [Restore crontab] ********************************************************* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Tuesday 07 January 2025 13:11:40 -0500 (0:00:00.393) 0:01:05.830 ******* changed: [managed-node2] => { "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_tubw5qcy_crontab", "state": "file", "uid": 0 } TASK [Delete tempfile] ********************************************************* task path: /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Tuesday 07 January 2025 13:11:41 -0500 (0:00:00.396) 0:01:06.227 ******* changed: [managed-node2] => { "changed": true, "path": "/tmp/aide_tubw5qcy_crontab", "state": "absent" } PLAY RECAP ********************************************************************* managed-node2 : ok=25 changed=12 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Tuesday 07 January 2025 13:11:41 -0500 (0:00:00.382) 0:01:06.610 ******* =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 39.73s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Install crontabs ------------------------------------------------------- 13.12s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:6 Gathering Facts --------------------------------------------------------- 2.45s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.80s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.29s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.29s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Create tempfile for crontab backup -------------------------------------- 0.55s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:10 Backup crontab ---------------------------------------------------------- 0.54s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.53s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.52s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.49s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.44s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Check file content ------------------------------------------------------ 0.41s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:33 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.41s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Restore crontab --------------------------------------------------------- 0.40s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:73 Ensure aide cron is removed --------------------------------------------- 0.39s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:63 Delete tempfile --------------------------------------------------------- 0.38s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:80 Ensure file is not changed ---------------------------------------------- 0.38s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:48 Run the role and and do not touch cron ---------------------------------- 0.05s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:42 Run the role and disable cron ------------------------------------------- 0.05s /tmp/collections-Iiw/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:57