This chapter will teach you how to work with Ansible ad hoc commands on multiple machines. Throughout the chapter, you will learn the necessary steps to set up a working directory for Ansible ad hoc commands and how to run the Ansible Ping ad hoc command. You will also learn how to specify a user and prompt for their password when running an ad hoc command. This chapter covers a range of ad hoc commands, including testing ...
7. Learning Ansible Basic Concepts II: Ad Hoc Commands – A Beginner’s Guide
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.