Ansible.Cfg

Default configuration for ansible. For example, by default we have to specify -i inventory-name, but we can specify a default config for ansible and it will be applied automatically

[defaults]
INVENTORY = inventory.yml

So you can just do

ansible example -m ping -u azureuser