In this section I will be using the default inventory file i.e. The " command" module is default, and does not have to be specified.Use " ansible-doc -l" for a list of modules and " ansible-doc " for information about module options.Ansible modules can be called using ansible command.
Ansible ad hoc commands syntax and examples.