ansible-playbook [core 2.17.8] 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-XAt executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 6 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.12) jinja version = 3.1.5 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-XAt/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-XAt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 Friday 31 January 2025 17:25:07 -0500 (0:00:00.012) 0:00:00.012 ******** [WARNING]: Platform linux on host managed-node3 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-node3] TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Friday 31 January 2025 17:25:10 -0500 (0:00:03.497) 0:00:03.510 ******** included: /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ****** task path: /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Friday 31 January 2025 17:25:10 -0500 (0:00:00.039) 0:00:03.550 ******** skipping: [managed-node3] => { "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-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Friday 31 January 2025 17:25:10 -0500 (0:00:00.037) 0:00:03.587 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] *** task path: /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Friday 31 January 2025 17:25:11 -0500 (0:00:00.485) 0:00:04.072 ******** ok: [managed-node3] => { "ansible_facts": { "__aide_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Friday 31 January 2025 17:25:11 -0500 (0:00:00.025) 0:00:04.098 ******** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Friday 31 January 2025 17:25:11 -0500 (0:00:00.036) 0:00:04.134 ******** changed: [managed-node3] => { "changed": true, "rc": 0, "results": [ "Installed: cronie-1.7.2-1.fc40.x86_64", "Installed: crontabs-1.11^20190603git9e74f2d-3.fc40.noarch", "Installed: cronie-anacron-1.7.2-1.fc40.x86_64", "Installed: aide-0.18.6-4.fc40.x86_64" ] } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Friday 31 January 2025 17:25:42 -0500 (0:00:30.938) 0:00:35.073 ******** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Friday 31 January 2025 17:25:42 -0500 (0:00:00.015) 0:00:35.088 ******** skipping: [managed-node3] => { "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-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Friday 31 January 2025 17:25:42 -0500 (0:00:00.019) 0:00:35.108 ******** changed: [managed-node3] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:03:57.740854", "end": "2025-01-31 17:29:40.535227", "rc": 0, "start": "2025-01-31 17:25:42.794373" } STDOUT: Start timestamp: 2025-01-31 17:25:42 -0500 (AIDE 0.18.6) AIDE successfully initialized database. New AIDE database written to /var/lib/aide/aide.db.new.gz Number of entries: 58317 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : 9CXE32OqwojkGV5h9J4sEw== SHA1 : 8nC/Cx4PTOzwyiQpV5FkzEXCu60= SHA256 : rVvuRLBITGkouinZHY/hAJ0qp6OTZiKT LlgY7U+7i/w= SHA512 : LcNwsKnYfDHURhPiQ/iSvcj9qZRDhn8B EQm4345Y+WUYKaVoNTlWGnoY1xjAKuAF ouQ5v3XsTNsr6r2Mvs5Rvg== RMD160 : FLxhzPej9519bjDUmsjk40QWL5I= TIGER : xu9FqvUnGcVEWevekUMRlao++gmvtlkB CRC32 : eReoOw== WHIRLPOOL : aMYU0ZRvwxd2LblKxkDZ+gt6kAEusK1V pb/ycf12G2urLF39Y6GTRblSb9oGszd7 2Zcr37M0dnXOr02xpTH61g== GOST : kIc7f8Wi0I560r9lTpPElS8+TkguNQ9S aZgLBo5onUA= STRIBOG256: P0+ogahGU01kVMu8xIbuHTzV4CjgiA7W Vf+aE4Kc5is= STRIBOG512: iPylvLJtGv75+1g+7pqOxtn73XBYNhRi lpCqn1pQuwxngt+KHR60yvkHQn0cbH3I WBFThlfbDD1KpPYQJrZfUw== End timestamp: 2025-01-31 17:29:40 -0500 (run time: 3m 58s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Friday 31 January 2025 17:29:40 -0500 (0:03:58.276) 0:04:33.384 ******** changed: [managed-node3] => { "changed": true, "checksum": "0039ba4f8aa386fb4822e62e959b4656dd9f575b", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "69cfd688fd08a9edf0fd14fa8e5ffa2a", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 4896928, "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-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Friday 31 January 2025 17:29:41 -0500 (0:00:00.594) 0:04:33.979 ******** changed: [managed-node3] => { "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-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Friday 31 January 2025 17:29:41 -0500 (0:00:00.540) 0:04:34.519 ******** skipping: [managed-node3] => { "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-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Friday 31 January 2025 17:29:41 -0500 (0:00:00.044) 0:04:34.564 ******** skipping: [managed-node3] => { "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-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Friday 31 January 2025 17:29:41 -0500 (0:00:00.039) 0:04:34.603 ******** skipping: [managed-node3] => { "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-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Friday 31 January 2025 17:29:41 -0500 (0:00:00.036) 0:04:34.640 ******** skipping: [managed-node3] => { "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-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Friday 31 January 2025 17:29:41 -0500 (0:00:00.033) 0:04:34.673 ******** skipping: [managed-node3] => { "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-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Friday 31 January 2025 17:29:41 -0500 (0:00:00.033) 0:04:34.706 ******** skipping: [managed-node3] => { "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-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Friday 31 January 2025 17:29:41 -0500 (0:00:00.034) 0:04:34.740 ******** skipping: [managed-node3] => { "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-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Friday 31 January 2025 17:29:41 -0500 (0:00:00.033) 0:04:34.774 ******** skipping: [managed-node3] => { "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-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Friday 31 January 2025 17:29:42 -0500 (0:00:00.022) 0:04:34.796 ******** skipping: [managed-node3] => { "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-XAt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 Friday 31 January 2025 17:29:42 -0500 (0:00:00.022) 0:04:34.819 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1738362342.8979824, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e55eb39b68a6b9def08c3a202b06f58f0eb1fcfc", "ctime": 1738362333.2390528, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1855, "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": "3436650893", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that the file exists] ********************************************* task path: /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:15 Friday 31 January 2025 17:29:42 -0500 (0:00:00.422) 0:04:35.241 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node3 : ok=10 changed=4 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Friday 31 January 2025 17:29:42 -0500 (0:00:00.024) 0:04:35.266 ******** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database ------------- 238.28s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Ensure required packages are installed -- 30.94s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 3.50s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.59s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.54s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.49s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Check if the file exists ------------------------------------------------ 0.42s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.04s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.04s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.04s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.04s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.04s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.04s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.03s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.03s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.03s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.03s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.03s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Assert that the file exists --------------------------------------------- 0.02s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:15 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.02s /tmp/collections-XAt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109