ansible_user Not being parsed

Hi,

I have the following /etc/ansible//hosts file
[servers]
1.1.1.1 ansible_user=centos ansible_ssh_private_key_file=keys/1server.pem

when I issue the following command

ansible all -vvvv -m setup
It tries to login as root

however the following works

ansible all -u centos -vvvv -m setup

where am I going wrong?

can anyone please respond

I have fixed this on my own, the documentation on the website needs to be updated.
I used ansible_ssh_user instead of ansible_user

It worked like a charm!!