Facing issues with one of the labs

The task for one of the lab is: Our hosts are available at port 2222, make sure Ansible tries to use port 2222 for SSH connection for all managed hosts instead of default SSH port.

Answer: open the ansible.cfg file and search for remote_port and set as: 2222.

When I click on check for validation of the answer it still gives error, not sure what I am missing still.

Team please help on this so that I can proceed with the rest of the questions and move ahead.

Thanks in advance.

Regards,
Heyat Afroz

Hello @heyatafroz,

Try to change ansible_ssh_port in the inventory file and feedback us.
For example:

[abc]
ABC121 ansible_ssh_host=host-IP ansible_ssh_port=2222 ansible_ssh_user=root