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_deploy.yml ***************************************************** 1 plays in /tmp/collections-ohi/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-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 Saturday 18 October 2025 07:22:46 -0400 (0:00:00.021) 0:00:00.021 ****** [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:47 -0400 (0:00:01.033) 0:00:01.055 ****** 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:47 -0400 (0:00:00.018) 0:00:01.073 ****** 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:47 -0400 (0:00:00.032) 0:00:01.106 ****** 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:48 -0400 (0:00:00.413) 0:00:01.520 ****** 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:48 -0400 (0:00:00.021) 0:00:01.541 ****** 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:48 -0400 (0:00:00.034) 0:00:01.576 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 Saturday 18 October 2025 07:22:49 -0400 (0:00:01.020) 0:00:02.596 ****** 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:49 -0400 (0:00:00.020) 0:00:02.617 ****** 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-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 Saturday 18 October 2025 07:22:49 -0400 (0:00:00.016) 0:00:02.634 ****** fatal: [managed-node2]: FAILED! => { "changed": true, "cmd": [ "aide", "--init" ], "delta": "0:00:00.007129", "end": "2025-10-18 07:22:49.577464", "rc": 17, "start": "2025-10-18 07:22:49.570335" } 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=5 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.14", "delta": "0:00:00.007129", "end_time": "2025-10-18 07:22:49.577464", "host": "managed-node2", "message": "non-zero return code", "rc": 17, "start_time": "2025-10-18 07:22:49.570335", "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:49 -0400 (0:00:00.436) 0:00:03.071 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.03s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/tests/aide/tests_deploy.yml:3 fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.02s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 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.41s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 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 : 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 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 : Ensure required services are enabled and started --- 0.02s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13 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 : Generate "/etc/aide.conf" -------------- 0.02s /tmp/collections-ohi/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20 Oct 18 07:22:46 managed-node2 sshd-session[9302]: Received disconnect from 10.31.9.183 port 59160:11: disconnected by user Oct 18 07:22:46 managed-node2 sshd-session[9302]: Disconnected from user root 10.31.9.183 port 59160 Oct 18 07:22:46 managed-node2 sshd-session[9299]: pam_unix(sshd:session): session closed for user root Oct 18 07:22:46 managed-node2 systemd[1]: session-10.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-10.scope has successfully entered the 'dead' state. Oct 18 07:22:46 managed-node2 systemd-logind[607]: Session 10 logged out. Waiting for processes to exit. Oct 18 07:22:46 managed-node2 systemd-logind[607]: Removed session 10. ░░ Subject: Session 10 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 10 has been terminated. Oct 18 07:22:47 managed-node2 python3.9[9500]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Oct 18 07:22:48 managed-node2 python3.9[9675]: 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:48 managed-node2 python3.9[9824]: 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:49 managed-node2 python3.9[9974]: 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:49 managed-node2 sshd-session[10000]: Accepted publickey for root from 10.31.9.183 port 59172 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 18 07:22:49 managed-node2 systemd-logind[607]: New session 11 of user root. ░░ Subject: A new session 11 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 11 has been created for the user root. ░░ ░░ The leading process of the session is 10000. Oct 18 07:22:49 managed-node2 systemd[1]: Started Session 11 of User root. ░░ Subject: A start job for unit session-11.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-11.scope has finished successfully. ░░ ░░ The job identifier is 1445. Oct 18 07:22:49 managed-node2 sshd-session[10000]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 18 07:22:49 managed-node2 sshd-session[10003]: Received disconnect from 10.31.9.183 port 59172:11: disconnected by user Oct 18 07:22:49 managed-node2 sshd-session[10003]: Disconnected from user root 10.31.9.183 port 59172 Oct 18 07:22:49 managed-node2 sshd-session[10000]: pam_unix(sshd:session): session closed for user root Oct 18 07:22:49 managed-node2 systemd-logind[607]: Session 11 logged out. Waiting for processes to exit. Oct 18 07:22:49 managed-node2 systemd[1]: session-11.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-11.scope has successfully entered the 'dead' state. Oct 18 07:22:49 managed-node2 systemd-logind[607]: Removed session 11. ░░ Subject: Session 11 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 11 has been terminated. Oct 18 07:22:49 managed-node2 sshd-session[10028]: Accepted publickey for root from 10.31.9.183 port 59186 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 18 07:22:49 managed-node2 systemd-logind[607]: New session 12 of user root. ░░ Subject: A new session 12 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 12 has been created for the user root. ░░ ░░ The leading process of the session is 10028. Oct 18 07:22:49 managed-node2 systemd[1]: Started Session 12 of User root. ░░ Subject: A start job for unit session-12.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-12.scope has finished successfully. ░░ ░░ The job identifier is 1514. Oct 18 07:22:49 managed-node2 sshd-session[10028]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)