ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_check_cron.yml ************************************************* 1 plays in /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml PLAY [Ensure that the cron is set up] ****************************************** META: ran handlers TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 19 December 2024 21:12:21 -0500 (0:00:00.033) 0:00:00.033 ***** included: /tmp/collections-TVz/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-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Thursday 19 December 2024 21:12:21 -0500 (0:00:00.043) 0:00:00.077 ***** ok: [managed-node2] TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Thursday 19 December 2024 21:12:21 -0500 (0:00:00.739) 0:00:00.816 ***** 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-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Thursday 19 December 2024 21:12:22 -0500 (0:00:00.456) 0:00:01.272 ***** 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-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Thursday 19 December 2024 21:12:22 -0500 (0:00:00.037) 0:00:01.310 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Thursday 19 December 2024 21:12:22 -0500 (0:00:00.053) 0:00:01.363 ***** 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-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Thursday 19 December 2024 21:12:25 -0500 (0:00:03.316) 0:00:04.680 ***** TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Thursday 19 December 2024 21:12:25 -0500 (0:00:00.052) 0:00:04.733 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Thursday 19 December 2024 21:12:25 -0500 (0:00:00.014) 0:00:04.747 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:47.156634", "end": "2024-12-19 21:13:13.295750", "rc": 0, "start": "2024-12-19 21:12:26.139116" } STDOUT: Start timestamp: 2024-12-19 21:12:26 -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 : jJOt5GsCcsnKkqtj2u3vUQ== SHA1 : 7a+v8ibsHQviuQEzWmGoDRVNuVY= RMD160 : 35Kb1s97Qs101mLm+I9dO8PCrAw= TIGER : M69/Gyvs/um+xAC06C2nj6VVvw+OJs0s SHA256 : OTovYERKfOwMzZMZKGySqbpo6zy9H6Kl ClkEKpzAbdg= SHA512 : 3UYHIFkxUHui2JtRnUfJEh6AOMpUqPQy TiQC/IZIzl065RV+uLMAmvt3SZ2YcF3w rjallh8PbIqgTeFUC4DdLw== End timestamp: 2024-12-19 21:13:13 -0500 (run time: 0m 47s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Thursday 19 December 2024 21:13:13 -0500 (0:00:47.600) 0:00:52.348 ***** changed: [managed-node2] => { "changed": true, "checksum": "a803de92771969e37bc965489ce0f5c70fe84696", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "62f81e06cf4c5804fe4bdb6b78507b01", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 3092094, "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-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Thursday 19 December 2024 21:13:13 -0500 (0:00:00.460) 0:00:52.809 ***** 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-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Thursday 19 December 2024 21:13:14 -0500 (0:00:00.455) 0:00:53.264 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Thursday 19 December 2024 21:13:14 -0500 (0:00:00.014) 0:00:53.278 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Thursday 19 December 2024 21:13:14 -0500 (0:00:00.012) 0:00:53.291 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check against AIDE reference database] *** task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:80 Thursday 19 December 2024 21:13:14 -0500 (0:00:00.013) 0:00:53.305 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update AIDE database] ******************* task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:88 Thursday 19 December 2024 21:13:14 -0500 (0:00:00.012) 0:00:53.318 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:95 Thursday 19 December 2024 21:13:14 -0500 (0:00:00.012) 0:00:53.331 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:100 Thursday 19 December 2024 21:13:14 -0500 (0:00:00.012) 0:00:53.343 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update aide check cron configuration if necessary] *** task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:105 Thursday 19 December 2024 21:13:14 -0500 (0:00:00.013) 0:00:53.357 ***** 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-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 Thursday 19 December 2024 21:13:14 -0500 (0:00:00.431) 0:00:53.789 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file content] ****************************************************** task path: /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:13 Thursday 19 December 2024 21:13:14 -0500 (0:00:00.013) 0:00:53.802 ***** ok: [managed-node2] => { "backup": "", "changed": false, "found": 0 } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=10 changed=4 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Thursday 19 December 2024 21:13:15 -0500 (0:00:00.341) 0:00:54.144 ***** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 47.60s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Ensure required packages are installed --- 3.32s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.74s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.46s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.46s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.46s /tmp/collections-TVz/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.43s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:105 Check file content ------------------------------------------------------ 0.34s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:13 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.05s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Ensure required services are enabled and started --- 0.05s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.04s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.04s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Generate "/etc/aide.conf" -------------- 0.01s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.01s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.01s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.01s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.01s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:100 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.01s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.01s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:80 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.01s /tmp/collections-TVz/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:95