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.12/site-packages/ansible ansible collection location = /tmp/collections-zis executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/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_deploy.yml ***************************************************** 1 plays in /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 Tuesday 07 January 2025 13:11:07 -0500 (0:00:00.011) 0:00:00.011 ******* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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 [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Tuesday 07 January 2025 13:11:08 -0500 (0:00:01.226) 0:00:01.237 ******* included: /tmp/collections-zis/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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Tuesday 07 January 2025 13:11:08 -0500 (0:00:00.035) 0:00:01.273 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Tuesday 07 January 2025 13:11:08 -0500 (0:00:00.036) 0:00:01.309 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Tuesday 07 January 2025 13:11:09 -0500 (0:00:00.475) 0:00:01.785 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Tuesday 07 January 2025 13:11:09 -0500 (0:00:00.025) 0:00:01.811 ******* 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Tuesday 07 January 2025 13:11:09 -0500 (0:00:00.037) 0:00:01.848 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Tuesday 07 January 2025 13:11:10 -0500 (0:00:01.657) 0:00:03.505 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Tuesday 07 January 2025 13:11:10 -0500 (0:00:00.014) 0:00:03.520 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Tuesday 07 January 2025 13:11:10 -0500 (0:00:00.018) 0:00:03.538 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:39.848260", "end": "2025-01-07 13:11:51.247434", "rc": 0, "start": "2025-01-07 13:11:11.399174" } STDOUT: Start timestamp: 2025-01-07 13:11:11 -0500 (AIDE 0.18.6) AIDE successfully initialized database. New AIDE database written to /var/lib/aide/aide.db.new.gz Number of entries: 58281 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : AIWbMDvoq4DxH6fdO7XUFw== SHA1 : 0Sw0R/zoUWvV0fSbVCL6w4MoPsU= SHA256 : PvqISsmzjtC8ohQcXqsIAU2+U+JXY0eG xgGxZ8Ejoe0= SHA512 : ePsZOCXtd7oHhoZzqXQDVU8Vx9ZwPqYL V/nHX6x/0MGQAGnW8eoBpehuODh31NpJ oWUwmkHgosHKnuCTyzYktA== RMD160 : 8QHazyWoj5cyUocAKWmHGm3iQAw= TIGER : o9LGmMvdHI2/il0Fv9s6ORv+gQJcB+MT CRC32 : GACfGg== WHIRLPOOL : nEuHZw3+9gS7GqAwaUujs2+zG6hTv9al 1enFkMqEUjeRquw/vDDYZx5Tvi0wzOAn th2dzYkLK7w/p3EMjE53+A== GOST : kmS1GA2LMYZV/9lGmcSR7FIdkfT2lTBC JuSgcdjVvao= STRIBOG256: PqPn62cDPc/XQu3HRy87QlNMnkAnNMWx GcDncJ1BFOM= STRIBOG512: PNISKiTnsHCJtjy2Ax6Oa44A5gu9KX7D hM+gpDv+/5qEF2Gat3AIMMjAitKhWAV/ 7vdrqHdZzq4fGCLqfj/QBA== End timestamp: 2025-01-07 13:11:51 -0500 (run time: 0m 40s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Tuesday 07 January 2025 13:11:51 -0500 (0:00:40.339) 0:00:43.877 ******* changed: [managed-node1] => { "changed": true, "checksum": "48d18e942cedac38710cccec48f0fc7ed7de046b", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "b0bf4e76c392223d35b7ba83c99d271b", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 4896886, "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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Tuesday 07 January 2025 13:11:51 -0500 (0:00:00.546) 0:00:44.424 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Tuesday 07 January 2025 13:11:52 -0500 (0:00:00.511) 0:00:44.935 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Tuesday 07 January 2025 13:11:52 -0500 (0:00:00.049) 0:00:44.985 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Tuesday 07 January 2025 13:11:52 -0500 (0:00:00.050) 0:00:45.035 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Tuesday 07 January 2025 13:11:52 -0500 (0:00:00.065) 0:00:45.100 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Tuesday 07 January 2025 13:11:52 -0500 (0:00:00.053) 0:00:45.154 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Tuesday 07 January 2025 13:11:52 -0500 (0:00:00.049) 0:00:45.203 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Tuesday 07 January 2025 13:11:52 -0500 (0:00:00.048) 0:00:45.252 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Tuesday 07 January 2025 13:11:52 -0500 (0:00:00.049) 0:00:45.301 ******* 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-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Tuesday 07 January 2025 13:11:52 -0500 (0:00:00.032) 0:00:45.334 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "aide_cron_check is not none", "skip_reason": "Conditional result was False" } TASK [Check if the file exists] ************************************************ task path: /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 Tuesday 07 January 2025 13:11:52 -0500 (0:00:00.024) 0:00:45.358 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736273465.837686, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e55eb39b68a6b9def08c3a202b06f58f0eb1fcfc", "ctime": 1736273457.959695, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1857, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1707696000.0, "nlink": 1, "path": "/etc/aide.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4850, "uid": 0, "version": "847225007", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that the file exists] ********************************************* task path: /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:15 Tuesday 07 January 2025 13:11:53 -0500 (0:00:00.394) 0:00:45.753 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=10 changed=3 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Tuesday 07 January 2025 13:11:53 -0500 (0:00:00.017) 0:00:45.770 ******* =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database -------------- 40.34s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.66s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.23s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.55s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.51s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.48s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Check if the file exists ------------------------------------------------ 0.39s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.07s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.05s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.05s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.05s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.05s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.05s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.05s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.04s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.04s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.04s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.03s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.03s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.02s /tmp/collections-zis/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118