© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
B. Choi, E. MedinaIntroduction to Ansible Network Automationhttps://doi.org/10.1007/978-1-4842-9624-0_6

6. Learning Ansible Basic Concepts I: SSH and Ad Hoc Commands

Brendan Choi1   and Erwin Medina1
(1)
Sydney, NSW, Australia
 

This chapter of our Ansible guide covers running ad hoc commands using Ansible. Ad hoc commands allow you to run a single command on multiple systems at once, without the need for a playbook. Learning Ansible ad hoc commands is a great starting point for understanding how Ansible works. It gives novice users a chance to understand how ad hoc commands can transform into a playbook. The chapter begins with an overview of SSH in Ansible, ...

Get Introduction to Ansible Network Automation: A Practical Primer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.