Check Config File

Hi all

I’m newbie on Ansible and i need to check some parameters in a config file.
For example i need to check if the remote_user is “user” in ansible.cfg

How i can symply do that with a playbook ?

Thx in advance,
Samuel

I think the good way to follow is :

http://docs.ansible.com/ansible/latest/lineinfile_module.html