ansible-playbook [core 2.16.14] 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-ycg executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 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-ycg/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-ycg/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 Saturday 03 May 2025 07:25:41 -0400 (0:00:00.013) 0:00:00.013 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 03 May 2025 07:25:42 -0400 (0:00:01.167) 0:00:01.181 ********** included: /tmp/collections-ycg/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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 03 May 2025 07:25:42 -0400 (0:00:00.034) 0:00:01.216 ********** skipping: [managed-node2] => { "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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 03 May 2025 07:25:42 -0400 (0:00:00.033) 0:00:01.250 ********** 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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 03 May 2025 07:25:43 -0400 (0:00:00.469) 0:00:01.719 ********** 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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 03 May 2025 07:25:43 -0400 (0:00:00.031) 0:00:01.750 ********** skipping: [managed-node2] => (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-node2] => (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-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 03 May 2025 07:25:43 -0400 (0:00:00.047) 0:00:01.798 ********** 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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 03 May 2025 07:25:46 -0400 (0:00:03.085) 0:00:04.884 ********** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] ************** task path: /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 03 May 2025 07:25:46 -0400 (0:00:00.019) 0:00:04.903 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "aide_config_template is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 03 May 2025 07:25:46 -0400 (0:00:00.023) 0:00:04.927 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:07.803740", "end": "2025-05-03 07:25:54.558288", "rc": 0, "start": "2025-05-03 07:25:46.754548" } STDOUT: Start timestamp: 2025-05-03 07:25:46 -0400 (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 : iU7QxjKFgdfFzpHKl+Oo9w== SHA1 : Lh+Qwys0ulqMXa1mOPAOHhbtEkE= RMD160 : 0bXqqfqgmFfxAInt9fIviPIkoqo= TIGER : 8Ia0d9HAhRhyREy9Kd/pOaUJcw3ngyPN SHA256 : QRJGECyrADYH9iu+MQpuHs+/YpDmEZRi LSpIw8QIy20= SHA512 : uicL+nW+o5YInIRPSxPd+4tiXkC4vH2D ItJZnctzjIuCBX56bbRxKIcH36Ps8kvy 0oTixq5MvZLRrZMe8mOP5A== End timestamp: 2025-05-03 07:25:54 -0400 (run time: 0m 8s) TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] *********** task path: /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 Saturday 03 May 2025 07:25:54 -0400 (0:00:08.332) 0:00:13.260 ********** changed: [managed-node2] => { "changed": true, "checksum": "2153657e3e8e1f09780f95cb6e514765c28dbe12", "dest": "/var/lib/aide/aide.db.gz", "gid": 0, "group": "root", "md5sum": "d8d6dcd7dbf68b227361599e710f906c", "mode": "0440", "owner": "root", "secontext": "system_u:object_r:aide_db_t:s0", "size": 3091766, "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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 Saturday 03 May 2025 07:25:55 -0400 (0:00:00.485) 0:00:13.745 ********** 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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 Saturday 03 May 2025 07:25:55 -0400 (0:00:00.470) 0:00:14.215 ********** skipping: [managed-node2] => { "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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 Saturday 03 May 2025 07:25:55 -0400 (0:00:00.028) 0:00:14.243 ********** skipping: [managed-node2] => { "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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 Saturday 03 May 2025 07:25:55 -0400 (0:00:00.028) 0:00:14.272 ********** skipping: [managed-node2] => { "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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 Saturday 03 May 2025 07:25:55 -0400 (0:00:00.029) 0:00:14.301 ********** skipping: [managed-node2] => { "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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 Saturday 03 May 2025 07:25:55 -0400 (0:00:00.030) 0:00:14.332 ********** skipping: [managed-node2] => { "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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 Saturday 03 May 2025 07:25:55 -0400 (0:00:00.029) 0:00:14.361 ********** skipping: [managed-node2] => { "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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 Saturday 03 May 2025 07:25:55 -0400 (0:00:00.030) 0:00:14.392 ********** skipping: [managed-node2] => { "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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:109 Saturday 03 May 2025 07:25:55 -0400 (0:00:00.030) 0:00:14.422 ********** skipping: [managed-node2] => { "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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:118 Saturday 03 May 2025 07:25:55 -0400 (0:00:00.016) 0:00:14.439 ********** skipping: [managed-node2] => { "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-ycg/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 Saturday 03 May 2025 07:25:55 -0400 (0:00:00.019) 0:00:14.458 ********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1746271485.119951, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "820b77c69450714010487fb863d48f2b4b441d0f", "ctime": 1746271484.6699502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 182452418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1746271484.3029497, "nlink": 1, "path": "/etc/aide.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7112, "uid": 0, "version": "4251017292", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert that the file exists] ********************************************* task path: /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:15 Saturday 03 May 2025 07:25:56 -0400 (0:00:00.359) 0:00:14.817 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=10 changed=3 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 03 May 2025 07:25:56 -0400 (0:00:00.013) 0:00:14.831 ********** =============================================================================== fedora.linux_system_roles.aide : Initialize AIDE database --------------- 8.33s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Ensure required packages are installed --- 3.09s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.17s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.49s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.47s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.47s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Check if the file exists ------------------------------------------------ 0.36s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:10 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.05s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.03s /tmp/collections-ycg/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-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 fedora.linux_system_roles.aide : Set flag to indicate system is ostree --- 0.03s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.03s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:99 fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.03s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:81 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.03s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:104 fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.03s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:89 fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.03s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.03s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63 fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.03s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58 fedora.linux_system_roles.aide : Generate "/etc/aide.conf" -------------- 0.02s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 fedora.linux_system_roles.aide : Ensure required services are enabled and started --- 0.02s /tmp/collections-ycg/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13