[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.23 (main, Aug 19 2025, 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/remediate/tests/tests_default.yml PLAY [Test] ******************************************************************** TASK [Gathering Facts] ********************************************************* task path: /root/.ansible/collections/ansible_collections/infra/leapp/roles/remediate/tests/tests_default.yml:4 ok: [managed-node01] TASK [infra.leapp.remediate : Check if the system is RHEL 7 or 8] ************** task path: /root/.ansible/collections/ansible_collections/infra/leapp/roles/remediate/tasks/main.yml:4 fatal: [managed-node01]: FAILED! => { "assertion": "ansible_distribution == 'RedHat' and ( ansible_distribution_major_version|int == 8 or ansible_distribution_major_version|int == 7 )", "changed": false, "evaluated_to": false, "msg": "This role is only applicable to RHEL 7 or 8" } PLAY RECAP ********************************************************************* managed-node01 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Nov 07 10:46:30 managed-node01 python3[10107]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Nov 07 10:46:31 managed-node01 sshd[10156]: Accepted publickey for root from 10.31.42.57 port 55874 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 07 10:46:31 managed-node01 systemd-logind[604]: New session 17 of user root. ░░ Subject: A new session 17 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 17 has been created for the user root. ░░ ░░ The leading process of the session is 10156. Nov 07 10:46:31 managed-node01 systemd[1]: Started Session 17 of User root. ░░ Subject: A start job for unit session-17.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-17.scope has finished successfully. ░░ ░░ The job identifier is 2285. Nov 07 10:46:31 managed-node01 sshd[10156]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Nov 07 10:46:31 managed-node01 sshd[10159]: Received disconnect from 10.31.42.57 port 55874:11: disconnected by user Nov 07 10:46:31 managed-node01 sshd[10159]: Disconnected from user root 10.31.42.57 port 55874 Nov 07 10:46:31 managed-node01 sshd[10156]: pam_unix(sshd:session): session closed for user root Nov 07 10:46:31 managed-node01 systemd[1]: session-17.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-17.scope has successfully entered the 'dead' state. Nov 07 10:46:31 managed-node01 systemd-logind[604]: Session 17 logged out. Waiting for processes to exit. Nov 07 10:46:31 managed-node01 systemd-logind[604]: Removed session 17. ░░ Subject: Session 17 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 17 has been terminated. Nov 07 10:46:31 managed-node01 sshd[10180]: Accepted publickey for root from 10.31.42.57 port 55880 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 07 10:46:31 managed-node01 systemd-logind[604]: New session 18 of user root. ░░ Subject: A new session 18 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 18 has been created for the user root. ░░ ░░ The leading process of the session is 10180. Nov 07 10:46:31 managed-node01 systemd[1]: Started Session 18 of User root. ░░ Subject: A start job for unit session-18.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-18.scope has finished successfully. ░░ ░░ The job identifier is 2370. Nov 07 10:46:31 managed-node01 sshd[10180]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)