Hello team,
Correct me if I’m wrong but setting ansible_user in /etc/ansible/ansible.cfg should do the trick ? I know remote_user is sometimes used but both variables are just aliases.
The answer below was flagged as incorrect…
Kind regards,
David
Hello team,
Correct me if I’m wrong but setting ansible_user in /etc/ansible/ansible.cfg should do the trick ? I know remote_user is sometimes used but both variables are just aliases.
The answer below was flagged as incorrect…
Kind regards,
David
I think the task expects you to put the user in the local inventory. That is how you would do it with real systems.
Hi Al! Thanks for your reply. I did replace « ansible_user » with « remote_user » in the /etc/ansible/ansible.cfg file and passed the lab, so I think that was the right place to put it.
Cheers,
Dave