Any documentation about a module,... can be found using command "ansible-doc <what_youre_looking_for>" (example: "ansible-doc yum")
ansible -i inventory example -m <command> -u <user>
lancer une commande avec le fichier inventory suivant :
[example]
<ip_address>
- Config file ansible.cfg :
[defaults]
INVENTORY = inventory
- Example:
ansible example -a "free -h" -u <user>