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-xpe/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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Thursday 19 December 2024 20:37:11 -0500 (0:00:00.022) 0:00:00.022 ***** included: /tmp/collections-xpe/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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Thursday 19 December 2024 20:37:11 -0500 (0:00:00.033) 0:00:00.056 ***** ok: [managed-node2] TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Thursday 19 December 2024 20:37:12 -0500 (0:00:00.757) 0:00:00.814 ***** 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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Thursday 19 December 2024 20:37:12 -0500 (0:00:00.456) 0:00:01.270 ***** 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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Thursday 19 December 2024 20:37:12 -0500 (0:00:00.036) 0:00:01.306 ***** 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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Thursday 19 December 2024 20:37:12 -0500 (0:00:00.051) 0:00:01.357 ***** 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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Thursday 19 December 2024 20:37:16 -0500 (0:00:03.394) 0:00:04.752 ***** TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Thursday 19 December 2024 20:37:16 -0500 (0:00:00.052) 0:00:04.804 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Thursday 19 December 2024 20:37:16 -0500 (0:00:00.014) 0:00:04.818 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:01:14.506275", "end": "2024-12-19 20:38:31.279112", "rc": 0, "start": "2024-12-19 20:37:16.772837" } STDOUT: Start timestamp: 2024-12-19 20:37:16 -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 : nsspBt6qQ/XyTBmQhAsNeA== SHA1 : 3mDZMux/K1zyP9qoOUKd/Heyn6c= RMD160 : 103t5ZroDeo4uclMRpc+ee1l1Ik= TIGER : soPeTK/iXjA69fivoGXGaMMPLhjniw+f SHA256 : eOOfgdmDCdUEEAJQjiLbeOnQOvUB2f9X Fk7RX/d86vM= SHA512 : c/7UQzOAIUtEaPqulWoQ3yrRBXfAlhCZ 0NrBDW0+lr7yUAUg3WFGS5Y9ncmF6ANd CWOHeZbr4CmX0eHf3il0xQ== End timestamp: 2024-12-19 20:38:31 -0500 (run time: 1m 15s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Thursday 19 December 2024 20:38:31 -0500 (0:01:14.955) 0:01:19.774 ***** changed: [managed-node2] => { "changed": true, "checksum": "58d094dac1f9028f2abc02e455cfbf309744da71", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "63b6b0bd12603d1e30352359dedda2bc", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 3092099, "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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Thursday 19 December 2024 20:38:31 -0500 (0:00:00.481) 0:01:20.256 ***** 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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Thursday 19 December 2024 20:38:32 -0500 (0:00:00.457) 0:01:20.714 ***** 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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Thursday 19 December 2024 20:38:32 -0500 (0:00:00.013) 0:01:20.727 ***** 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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Thursday 19 December 2024 20:38:32 -0500 (0:00:00.013) 0:01:20.741 ***** 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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:80 Thursday 19 December 2024 20:38:32 -0500 (0:00:00.012) 0:01:20.754 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update AIDE database] ******************* task path: /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:88 Thursday 19 December 2024 20:38:32 -0500 (0:00:00.013) 0:01:20.767 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:95 Thursday 19 December 2024 20:38:32 -0500 (0:00:00.013) 0:01:20.780 ***** 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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:100 Thursday 19 December 2024 20:38:32 -0500 (0:00:00.012) 0:01:20.793 ***** 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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:105 Thursday 19 December 2024 20:38:32 -0500 (0:00:00.012) 0:01:20.806 ***** 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-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 Thursday 19 December 2024 20:38:32 -0500 (0:00:00.448) 0:01:21.254 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file content] ****************************************************** task path: /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:13 Thursday 19 December 2024 20:38:32 -0500 (0:00:00.014) 0:01:21.269 ***** 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 20:38:33 -0500 (0:00:00.347) 0:01:21.616 ***** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 74.96s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Ensure required packages are installed --- 3.39s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.76s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.48s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.46s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.46s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.45s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:105 Check file content ------------------------------------------------------ 0.35s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:13 fedora.linux_system_roles.aide : Ensure required services are enabled and started --- 0.05s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.05s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.04s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.03s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.01s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:112 fedora.linux_system_roles.aide : Generate "/etc/aide.conf" -------------- 0.01s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.01s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.01s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.01s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:80 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.01s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:88 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.01s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:100 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.01s /tmp/collections-xpe/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:95