---

Ansible Guide: The Ad-Hoc Command

The Ad-Hoc command is the one-liner ansible command that performs one task on the target host. It allows you to execute simple one-line task against one or group of hosts defined in the inventory file configuration.