ansible-playbook [core 2.17.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-ohi executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/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 Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. 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_custom_template.yml ******************************************** 1 plays in /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_custom_template.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_custom_template.yml:3 Saturday 18 October 2025 07:22:25 -0400 (0:00:00.019) 0:00:00.019 ****** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] *** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 Saturday 18 October 2025 07:22:26 -0400 (0:00:01.318) 0:00:01.338 ****** included: /tmp/collections-ohi/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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 Saturday 18 October 2025 07:22:26 -0400 (0:00:00.017) 0:00:01.356 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 Saturday 18 October 2025 07:22:26 -0400 (0:00:00.032) 0:00:01.388 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 Saturday 18 October 2025 07:22:27 -0400 (0:00:00.416) 0:00:01.805 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 Saturday 18 October 2025 07:22:27 -0400 (0:00:00.021) 0:00:01.827 ****** 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_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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] *** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Saturday 18 October 2025 07:22:27 -0400 (0:00:00.030) 0:00:01.857 ****** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Installed: aide-0.19.2-4.el9.x86_64" ] } TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] *** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 October 2025 07:22:39 -0400 (0:00:12.921) 0:00:14.779 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Saturday 18 October 2025 07:22:40 -0400 (0:00:00.016) 0:00:14.796 ****** changed: [managed-node2] => { "changed": true, "checksum": "820b77c69450714010487fb863d48f2b4b441d0f", "dest": "/etc/aide.conf", "gid": 0, "group": "root", "md5sum": "029147a822e81863cfd3d64ff86f3e4e", "mode": "0400", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 7112, "src": "/root/.ansible/tmp/ansible-tmp-1760786560.0603068-8059-41230280663917/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.aide : Initialize AIDE database] *************** task path: /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 October 2025 07:22:40 -0400 (0:00:00.861) 0:00:15.657 ****** fatal: [managed-node2]: FAILED! => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:00.007683", "end": "2025-10-18 07:22:41.265489", "rc": 17, "start": "2025-10-18 07:22:41.257806" } STDERR: ERROR: /etc/aide.conf:12: unexpected character: ':' (line: 'database=file:@@{DBDIR}/aide.db.gz') MSG: non-zero return code PLAY RECAP ********************************************************************* managed-node2 : ok=6 changed=2 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.14", "delta": "0:00:00.007683", "end_time": "2025-10-18 07:22:41.265489", "host": "managed-node2", "message": "non-zero return code", "rc": 17, "start_time": "2025-10-18 07:22:41.257806", "stderr": " ERROR: /etc/aide.conf:12: unexpected character: ':' (line: 'database=file:@@{DBDIR}/aide.db.gz')", "task_name": "Initialize AIDE database", "task_path": "/tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 18 October 2025 07:22:41 -0400 (0:00:00.444) 0:00:16.102 ****** =============================================================================== fedora.linux_system_roles.aide : Ensure required packages are installed -- 12.92s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 Gathering Facts --------------------------------------------------------- 1.32s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_custom_template.yml:3 fedora.linux_system_roles.aide : Generate "/etc/aide.conf" -------------- 0.86s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 fedora.linux_system_roles.aide : Initialize AIDE database --------------- 0.44s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.42s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.03s /tmp/collections-ohi/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-ohi/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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15 fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.02s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3 fedora.linux_system_roles.aide : Ensure required services are enabled and started --- 0.02s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Oct 18 07:22:25 managed-node2 sshd-session[7417]: Accepted publickey for root from 10.31.9.183 port 56294 ssh2: ECDSA SHA256:5xX3j9Qtt2FAAFZ40N4KR5c/mPdyAOabYKJ+xOgRrwk Oct 18 07:22:25 managed-node2 systemd-logind[607]: New session 7 of user root. ░░ Subject: A new session 7 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 7 has been created for the user root. ░░ ░░ The leading process of the session is 7417. Oct 18 07:22:25 managed-node2 systemd[1]: Started Session 7 of User root. ░░ Subject: A start job for unit session-7.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-7.scope has finished successfully. ░░ ░░ The job identifier is 1038. Oct 18 07:22:25 managed-node2 sshd-session[7417]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 18 07:22:26 managed-node2 python3.9[7594]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Oct 18 07:22:26 managed-node2 python3.9[7769]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Oct 18 07:22:27 managed-node2 python3.9[7918]: ansible-ansible.legacy.dnf Invoked with name=['aide', 'crontabs'] state=present allow_downgrade=False allowerasing=False autoremove=False bugfix=False cacheonly=False disable_gpg_check=False disable_plugin=[] disablerepo=[] download_only=False enable_plugin=[] enablerepo=[] exclude=[] installroot=/ install_repoquery=True install_weak_deps=True security=False skip_broken=False update_cache=False update_only=False validate_certs=True sslverify=True lock_timeout=30 use_backend=auto best=None conf_file=None disable_excludes=None download_dir=None list=None nobest=None releasever=None Oct 18 07:22:39 managed-node2 systemd[1]: Started /usr/bin/systemctl start man-db-cache-update. ░░ Subject: A start job for unit run-rddac0153baca4f6f8ec3c8ab360ce42b.service has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit run-rddac0153baca4f6f8ec3c8ab360ce42b.service has finished successfully. ░░ ░░ The job identifier is 1108. Oct 18 07:22:39 managed-node2 systemd[1]: Starting man-db-cache-update.service... ░░ Subject: A start job for unit man-db-cache-update.service has begun execution ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit man-db-cache-update.service has begun execution. ░░ ░░ The job identifier is 1173. Oct 18 07:22:40 managed-node2 python3.9[8218]: ansible-ansible.legacy.stat Invoked with path=/etc/aide.conf follow=False get_checksum=True get_size=False checksum_algorithm=sha1 get_mime=True get_attributes=True Oct 18 07:22:40 managed-node2 systemd[1]: man-db-cache-update.service: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit man-db-cache-update.service has successfully entered the 'dead' state. Oct 18 07:22:40 managed-node2 systemd[1]: Finished man-db-cache-update.service. ░░ Subject: A start job for unit man-db-cache-update.service has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit man-db-cache-update.service has finished successfully. ░░ ░░ The job identifier is 1173. Oct 18 07:22:40 managed-node2 systemd[1]: run-rddac0153baca4f6f8ec3c8ab360ce42b.service: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit run-rddac0153baca4f6f8ec3c8ab360ce42b.service has successfully entered the 'dead' state. Oct 18 07:22:40 managed-node2 python3.9[8341]: ansible-ansible.legacy.copy Invoked with src=/root/.ansible/tmp/ansible-tmp-1760786560.0603068-8059-41230280663917/.source.conf dest=/etc/aide.conf mode=0400 follow=False _original_basename=aide-custom.conf.j2 checksum=820b77c69450714010487fb863d48f2b4b441d0f backup=False force=True unsafe_writes=False content=NOT_LOGGING_PARAMETER validate=None directory_mode=None remote_src=None local_follow=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None Oct 18 07:22:41 managed-node2 python3.9[8490]: ansible-ansible.legacy.command Invoked with _raw_params=aide --init _uses_shell=False expand_argument_vars=True stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Oct 18 07:22:41 managed-node2 sshd-session[8516]: Accepted publickey for root from 10.31.9.183 port 56446 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 18 07:22:41 managed-node2 systemd-logind[607]: New session 8 of user root. ░░ Subject: A new session 8 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 8 has been created for the user root. ░░ ░░ The leading process of the session is 8516. Oct 18 07:22:41 managed-node2 systemd[1]: Started Session 8 of User root. ░░ Subject: A start job for unit session-8.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-8.scope has finished successfully. ░░ ░░ The job identifier is 1238. Oct 18 07:22:41 managed-node2 sshd-session[8516]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 18 07:22:41 managed-node2 sshd-session[8519]: Received disconnect from 10.31.9.183 port 56446:11: disconnected by user Oct 18 07:22:41 managed-node2 sshd-session[8519]: Disconnected from user root 10.31.9.183 port 56446 Oct 18 07:22:41 managed-node2 sshd-session[8516]: pam_unix(sshd:session): session closed for user root Oct 18 07:22:41 managed-node2 systemd[1]: session-8.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-8.scope has successfully entered the 'dead' state. Oct 18 07:22:41 managed-node2 systemd-logind[607]: Session 8 logged out. Waiting for processes to exit. Oct 18 07:22:41 managed-node2 systemd-logind[607]: Removed session 8. ░░ Subject: Session 8 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 8 has been terminated. Oct 18 07:22:41 managed-node2 sshd-session[8544]: Accepted publickey for root from 10.31.9.183 port 56458 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 18 07:22:41 managed-node2 systemd-logind[607]: New session 9 of user root. ░░ Subject: A new session 9 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 9 has been created for the user root. ░░ ░░ The leading process of the session is 8544. Oct 18 07:22:41 managed-node2 systemd[1]: Started Session 9 of User root. ░░ Subject: A start job for unit session-9.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-9.scope has finished successfully. ░░ ░░ The job identifier is 1307. Oct 18 07:22:41 managed-node2 sshd-session[8544]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)