[WARNING]: Collection infra.leapp does not support Ansible version 2.14.18 [WARNING]: running playbook inside collection infra.leapp ansible-playbook [core 2.14.18] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-playbook python version = 3.9.25 (main, Jan 14 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/bin/python3) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file 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_default.yml **************************************************** 1 plays in /root/.ansible/collections/ansible_collections/infra/leapp/roles/common/tests/tests_default.yml PLAY [Test] ******************************************************************** TASK [Gathering Facts] ********************************************************* task path: /root/.ansible/collections/ansible_collections/infra/leapp/roles/common/tests/tests_default.yml:2 ok: [managed-node01] TASK [Test | Run role common] ************************************************** task path: /root/.ansible/collections/ansible_collections/infra/leapp/roles/common/tests/tests_default.yml:9 TASK [infra.leapp.common : Fail because role is used incorrectly] ************** task path: /root/.ansible/collections/ansible_collections/infra/leapp/roles/common/tasks/main.yml:3 fatal: [managed-node01]: FAILED! => {"changed": false, "msg": "You must run the role with tasks_from: .yml"} TASK [Test | Check error] ****************************************************** task path: /root/.ansible/collections/ansible_collections/infra/leapp/roles/common/tests/tests_default.yml:13 ok: [managed-node01] => { "msg": "errors {\n \"_ansible_no_log\": false,\n \"changed\": false,\n \"failed\": true,\n \"msg\": \"You must run the role with tasks_from: .yml\"\n}" } TASK [Test | Ensure correct error] ********************************************* task path: /root/.ansible/collections/ansible_collections/infra/leapp/roles/common/tests/tests_default.yml:17 fatal: [managed-node01]: FAILED! => { "assertion": "ansible_failed_result.msg | select(\"search\", err_pat) | list | length > 0", "changed": false, "evaluated_to": false, "msg": "Assertion failed" } TASK [Test | Include cleanup logs] ********************************************* task path: /root/.ansible/collections/ansible_collections/infra/leapp/roles/common/tests/tests_default.yml:26 TASK [infra.leapp.common : cleanup_logs | Cleanup | Remove log files] ********** task path: /root/.ansible/collections/ansible_collections/infra/leapp/roles/common/tasks/cleanup_logs.yml:2 changed: [managed-node01] => {"changed": true, "cmd": "set -euxo pipefail\nrm -f /var/log/leapp/*.log\nrm -f /var/log/leapp/*.json\nrm -f /var/log/leapp/*.txt\n", "delta": "0:00:00.005942", "end": "2026-02-19 12:17:53.690888", "msg": "", "rc": 0, "start": "2026-02-19 12:17:53.684946", "stderr": "+ rm -f '/var/log/leapp/*.log'\n+ rm -f '/var/log/leapp/*.json'\n+ rm -f '/var/log/leapp/*.txt'", "stderr_lines": ["+ rm -f '/var/log/leapp/*.log'", "+ rm -f '/var/log/leapp/*.json'", "+ rm -f '/var/log/leapp/*.txt'"], "stdout": "", "stdout_lines": []} PLAY RECAP ********************************************************************* managed-node01 : ok=3 changed=1 unreachable=0 failed=1 skipped=0 rescued=1 ignored=0 Feb 19 12:17:52 managed-node01 python3[14794]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Feb 19 12:17:53 managed-node01 python3[14972]: ansible-ansible.legacy.command Invoked with _raw_params=set -euxo pipefail rm -f /var/log/leapp/*.log rm -f /var/log/leapp/*.json rm -f /var/log/leapp/*.txt _uses_shell=True stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Feb 19 12:17:53 managed-node01 sshd[15000]: Accepted publickey for root from 10.31.42.51 port 58022 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Feb 19 12:17:53 managed-node01 systemd-logind[609]: New session 10 of user root. ░░ Subject: A new session 10 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 10 has been created for the user root. ░░ ░░ The leading process of the session is 15000. Feb 19 12:17:53 managed-node01 systemd[1]: Started Session 10 of User root. ░░ Subject: A start job for unit session-10.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-10.scope has finished successfully. ░░ ░░ The job identifier is 1653. Feb 19 12:17:53 managed-node01 sshd[15000]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Feb 19 12:17:53 managed-node01 sshd[15003]: Received disconnect from 10.31.42.51 port 58022:11: disconnected by user Feb 19 12:17:53 managed-node01 sshd[15003]: Disconnected from user root 10.31.42.51 port 58022 Feb 19 12:17:53 managed-node01 sshd[15000]: pam_unix(sshd:session): session closed for user root Feb 19 12:17:53 managed-node01 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. Feb 19 12:17:53 managed-node01 systemd-logind[609]: Session 10 logged out. Waiting for processes to exit. Feb 19 12:17:53 managed-node01 systemd-logind[609]: 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. Feb 19 12:17:54 managed-node01 sshd[15028]: Accepted publickey for root from 10.31.42.51 port 58032 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Feb 19 12:17:54 managed-node01 systemd-logind[609]: 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 15028. Feb 19 12:17:54 managed-node01 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 1736. Feb 19 12:17:54 managed-node01 sshd[15028]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)