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-SNt executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-SNt/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-SNt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 Tuesday 07 January 2025 12:43:49 -0500 (0:00:00.010) 0:00:00.010 ******* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Tuesday 07 January 2025 12:43:50 -0500 (0:00:01.089) 0:00:01.100 ******* included: /tmp/collections-SNt/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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Tuesday 07 January 2025 12:43:50 -0500 (0:00:00.037) 0:00:01.137 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Tuesday 07 January 2025 12:43:50 -0500 (0:00:00.036) 0:00:01.173 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Tuesday 07 January 2025 12:43:50 -0500 (0:00:00.430) 0:00:01.604 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Tuesday 07 January 2025 12:43:50 -0500 (0:00:00.022) 0:00:01.627 ******* 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=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-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Tuesday 07 January 2025 12:43:50 -0500 (0:00:00.032) 0:00:01.659 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Tuesday 07 January 2025 12:43:52 -0500 (0:00:01.470) 0:00:03.130 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Tuesday 07 January 2025 12:43:52 -0500 (0:00:00.014) 0:00:03.145 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Tuesday 07 January 2025 12:43:52 -0500 (0:00:00.018) 0:00:03.163 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:03:44.948887", "end": "2025-01-07 12:47:37.546823", "rc": 0, "start": "2025-01-07 12:43:52.597936" } STDOUT: Start timestamp: 2025-01-07 12:43:52 -0500 (AIDE 0.16) AIDE initialized database at /var/lib/aide/aide.db.new.gz Number of entries: 52458 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : r/qVHTAo/sPNg6TPY7TDTg== SHA1 : koiHulA/eCYNq2Nks0DhtF8LjB8= RMD160 : cZJJc/2LX/0k6twK1j5ZIxZky5o= TIGER : X+8huhOZTK3T2mxpAy/fDpAZbONAtJch SHA256 : HOQFgz1oqIbV8zeu2QnRpR+MepIjr8bI 4XIjIEy7D5Q= SHA512 : uz/JG0fhR3tiKJnGCXhfI3Tws/wgBsme D+Jjg+YomslVQgYOubFOYCmB2Ya/oKuN IReCnSdktbYmfiYZIrlmxg== End timestamp: 2025-01-07 12:47:37 -0500 (run time: 3m 45s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Tuesday 07 January 2025 12:47:37 -0500 (0:03:45.393) 0:03:48.557 ******* changed: [managed-node1] => { "changed": true, "checksum": "ae5ee86ceb95e1d1a6cc7f912145e78bbf6d7248", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "ed0056d3a002022a466828bed14a3a3f", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 2864120, "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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Tuesday 07 January 2025 12:47:38 -0500 (0:00:00.583) 0:03:49.141 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Tuesday 07 January 2025 12:47:38 -0500 (0:00:00.613) 0:03:49.754 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Tuesday 07 January 2025 12:47:38 -0500 (0:00:00.068) 0:03:49.823 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Tuesday 07 January 2025 12:47:38 -0500 (0:00:00.055) 0:03:49.878 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Tuesday 07 January 2025 12:47:38 -0500 (0:00:00.058) 0:03:49.937 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Tuesday 07 January 2025 12:47:39 -0500 (0:00:00.056) 0:03:49.993 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Tuesday 07 January 2025 12:47:39 -0500 (0:00:00.082) 0:03:50.076 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Tuesday 07 January 2025 12:47:39 -0500 (0:00:00.054) 0:03:50.131 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Tuesday 07 January 2025 12:47:39 -0500 (0:00:00.084) 0:03:50.216 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Tuesday 07 January 2025 12:47:39 -0500 (0:00:00.055) 0:03:50.271 ******* 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-SNt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 Tuesday 07 January 2025 12:47:39 -0500 (0:00:00.054) 0:03:50.326 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736271828.015204, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e4239a1a8d0a6676962e885f199361140fc1e3bc", "ctime": 1736271814.3881552, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4880787, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1724161536.0, "nlink": 1, "path": "/etc/aide.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7053, "uid": 0, "version": "3113444437", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that the file exists] ********************************************* task path: /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:15 Tuesday 07 January 2025 12:47:39 -0500 (0:00:00.400) 0:03:50.727 ******* 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 12:47:39 -0500 (0:00:00.017) 0:03:50.744 ******* =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database ------------- 225.39s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.47s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.09s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.61s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.58s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.43s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Check if the file exists ------------------------------------------------ 0.40s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.08s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.08s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.07s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.06s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.06s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.06s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.06s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.05s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.05s /tmp/collections-SNt/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-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.04s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.03s /tmp/collections-SNt/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.02s /tmp/collections-SNt/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15