Ansible level 1 - challenge 3 make default ssh user

Hello

I solved it like this :

-  ansible-config init --disabled > ansible.cfg
- vi ansible.cfg 
- change remote_user to  john 

But it fails

What do I have done wrong ?

The default config file is /etc/ansible/ansible.cfg, and if you’re asked to make “john” the default, you add the line

remote_user = john

to that file. This worked for me. See this StackExchange post.

Thanks,

Still a lot to learn but also this challenge is solved