Adhoc Command

Adhoc command is to run a particular command on ansible. You can do it by the following:

ansible example -a "free -h"

this is the same thing as

ansible example -m command -a "free -h"