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_deploy.yml ***************************************************** 1 plays in /tmp/collections-HiG/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-HiG/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 Saturday 22 February 2025 06:23:51 -0500 (0:00:00.021) 0:00:00.021 ***** ok: [managed-node1] META: ran handlers TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 22 February 2025 06:23:52 -0500 (0:00:00.943) 0:00:00.964 ***** included: /tmp/collections-HiG/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-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 22 February 2025 06:23:52 -0500 (0:00:00.034) 0:00:00.999 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check if system is ostree] ************** task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 22 February 2025 06:23:52 -0500 (0:00:00.033) 0:00:01.033 ***** 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-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 22 February 2025 06:23:53 -0500 (0:00:00.476) 0:00:01.510 ***** 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-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 22 February 2025 06:23:53 -0500 (0:00:00.059) 0:00:01.569 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (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-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 22 February 2025 06:23:53 -0500 (0:00:00.054) 0:00:01.623 ***** 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-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 22 February 2025 06:23:56 -0500 (0:00:03.137) 0:00:04.761 ***** TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 22 February 2025 06:23:56 -0500 (0:00:00.049) 0:00:04.811 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 22 February 2025 06:23:56 -0500 (0:00:00.015) 0:00:04.826 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:07.829189", "end": "2025-02-22 06:24:04.710125", "rc": 0, "start": "2025-02-22 06:23:56.880936" } STDOUT: Start timestamp: 2025-02-22 06:23:56 -0500 (AIDE 0.16) AIDE initialized database at /var/lib/aide/aide.db.new.gz Number of entries: 55418 --------------------------------------------------- The attributes of the (uncompressed) database(s): --------------------------------------------------- /var/lib/aide/aide.db.new.gz MD5 : 9jIMOzomYj7F3oeBwvvDMg== SHA1 : oM9X2JG/aMxkLy/XG7EfUlhCokk= RMD160 : KEtaiUXo4n6f8oleNLKuRQtjEgs= TIGER : VC/4dv3IdAa9kfQjMizGMOhJtm0GMkBc SHA256 : UqBKPmkxTUxAQN1AOlIWXXVseWpJz2Bn +HyAtSP3I1g= SHA512 : e6toqf5kwCdPYQstwR00nj+QC+u3O7is kfQFU8/+VkLSNscDNMiiDKdIg2GOMM3T 4W0UizV0XeEBKA6avOwx9A== End timestamp: 2025-02-22 06:24:04 -0500 (run time: 0m 8s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 22 February 2025 06:24:04 -0500 (0:00:08.290) 0:00:13.117 ***** changed: [managed-node1] => { "changed": true, "checksum": "c3a2a223ffe5da5c3df75e4c06cf892a973b2ce1", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "0510d21c01120fce10e84fe48f798adf", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 3091769, "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-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 22 February 2025 06:24:05 -0500 (0:00:00.497) 0:00:13.614 ***** 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-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 22 February 2025 06:24:05 -0500 (0:00:00.479) 0:00:14.094 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 22 February 2025 06:24:05 -0500 (0:00:00.014) 0:00:14.108 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 22 February 2025 06:24:05 -0500 (0:00:00.014) 0:00:14.123 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Check against AIDE reference database] *** task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 22 February 2025 06:24:05 -0500 (0:00:00.014) 0:00:14.137 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Update AIDE database] ******************* task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 22 February 2025 06:24:05 -0500 (0:00:00.013) 0:00:14.151 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ******************** task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 22 February 2025 06:24:05 -0500 (0:00:00.014) 0:00:14.165 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] ******* task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 22 February 2025 06:24:05 -0500 (0:00:00.013) 0:00:14.179 ***** skipping: [managed-node1] => { "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-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 22 February 2025 06:24:05 -0500 (0:00:00.013) 0:00:14.193 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary] *** task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 22 February 2025 06:24:05 -0500 (0:00:00.014) 0:00:14.207 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the file exists] ************************************************ task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 Saturday 22 February 2025 06:24:05 -0500 (0:00:00.013) 0:00:14.220 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1740223414.3322792, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "820b77c69450714010487fb863d48f2b4b441d0f", "ctime": 1740223413.8632786, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 243269826, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1740223413.4922779, "nlink": 1, "path": "/etc/aide.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7112, "uid": 0, "version": "4163908076", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that the file exists] ********************************************* task path: /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:15 Saturday 22 February 2025 06:24:06 -0500 (0:00:00.481) 0:00:14.702 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=10 changed=3 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 Saturday 22 February 2025 06:24:06 -0500 (0:00:00.014) 0:00:14.716 ***** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database --------------- 8.29s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Ensure required packages are installed --- 3.14s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 0.94s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.50s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Check if the file exists ------------------------------------------------ 0.48s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.48s /tmp/collections-HiG/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-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.06s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.05s /tmp/collections-HiG/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-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.03s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.03s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Generate "/etc/aide.conf" -------------- 0.02s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.01s /tmp/collections-HiG/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-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.01s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.01s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.01s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Assert that the file exists --------------------------------------------- 0.01s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:15 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.01s /tmp/collections-HiG/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104