---

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.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis