Ad hoc - issue (privilege)

Hello,

When i use this command from ansible user it doesnt work :
ansible all -m user -a “name=toto”

ansible.cfg
become=True
become_user=ansible
mecome_method=sudo

The purpose of the exercice is to create user with ansible user on target nodes

NB : ansible in target node has sudoer privilege

Hi @maelamrani,
Please provide us the link to the labs

Thank