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-5Pt 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.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-5Pt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml PLAY [Ensure that the cron is set up] ****************************************** TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 19 December 2024 21:12:12 -0500 (0:00:00.011) 0:00:00.011 ***** included: /tmp/collections-5Pt/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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Thursday 19 December 2024 21:12:12 -0500 (0:00:00.015) 0:00:00.027 ***** ok: [managed-node2] TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Thursday 19 December 2024 21:12:13 -0500 (0:00:00.830) 0:00:00.858 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Thursday 19 December 2024 21:12:13 -0500 (0:00:00.463) 0:00:01.321 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Thursday 19 December 2024 21:12:13 -0500 (0:00:00.021) 0:00:01.342 ***** 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=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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Thursday 19 December 2024 21:12:13 -0500 (0:00:00.032) 0:00:01.374 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Thursday 19 December 2024 21:12:17 -0500 (0:00:03.426) 0:00:04.801 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Thursday 19 December 2024 21:12:17 -0500 (0:00:00.012) 0:00:04.814 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Thursday 19 December 2024 21:12:17 -0500 (0:00:00.017) 0:00:04.831 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:48.187043", "end": "2024-12-19 21:13:05.948145", "rc": 0, "start": "2024-12-19 21:12:17.761102" } STDOUT: Start timestamp: 2024-12-19 21:12:17 -0500 (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 : JIpx3q8La/OEkWGQ4MbeUw== SHA1 : /9xTsvAUfkw6lmo/KePQc0m2l9k= RMD160 : 3hkZ6vzbSEo96VGwHQVmV8SSFtw= TIGER : gQDIQqH6QHP5DTwW5ad3769tJsgK6sD/ SHA256 : /9PFJIAxSwHFPhD4eUiMCuiBPb4zlZX0 zKPUL9R+C4g= SHA512 : exAqjqlUkJ/nP/VTv0H0hTtSQWff7Obw 8qIIFqHHTok7NsaRmMYs5xTnBSL5qbOA Tuh1vUwmG9l3380D+dTrWg== End timestamp: 2024-12-19 21:13:05 -0500 (run time: 0m 48s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Thursday 19 December 2024 21:13:05 -0500 (0:00:48.661) 0:00:53.493 ***** changed: [managed-node2] => { "changed": true, "checksum": "7e783c92615b66159d282adbfcae7d61ebe6c1fe", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "c977fde4444624d92a5f295b98d4c468", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 3092092, "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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Thursday 19 December 2024 21:13:06 -0500 (0:00:00.514) 0:00:54.007 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Thursday 19 December 2024 21:13:07 -0500 (0:00:00.490) 0:00:54.498 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Thursday 19 December 2024 21:13:07 -0500 (0:00:00.051) 0:00:54.549 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Thursday 19 December 2024 21:13:07 -0500 (0:00:00.048) 0:00:54.598 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:80 Thursday 19 December 2024 21:13:07 -0500 (0:00:00.048) 0:00:54.647 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:88 Thursday 19 December 2024 21:13:07 -0500 (0:00:00.028) 0:00:54.676 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:95 Thursday 19 December 2024 21:13:07 -0500 (0:00:00.030) 0:00:54.706 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:100 Thursday 19 December 2024 21:13:07 -0500 (0:00:00.029) 0:00:54.736 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:105 Thursday 19 December 2024 21:13:07 -0500 (0:00:00.029) 0:00:54.765 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 Thursday 19 December 2024 21:13:07 -0500 (0:00:00.473) 0:00:55.238 ***** 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-5Pt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:13 Thursday 19 December 2024 21:13:07 -0500 (0:00:00.031) 0:00:55.270 ***** ok: [managed-node2] => { "backup": "", "changed": false, "found": 0 } PLAY RECAP ********************************************************************* managed-node2 : ok=10 changed=4 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Thursday 19 December 2024 21:13:08 -0500 (0:00:00.347) 0:00:55.617 ***** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 48.66s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Ensure required packages are installed --- 3.43s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.83s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.51s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.49s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.47s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:105 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.46s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Check file content ------------------------------------------------------ 0.35s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:13 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.05s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.05s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.05s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.03s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.03s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.03s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:88 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.03s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:95 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.03s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:100 fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.03s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:80 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.02s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Generate "/etc/aide.conf" -------------- 0.02s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.02s /tmp/collections-5Pt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3