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