Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Demystifying Ansible Automation Platform

You're reading from   Demystifying Ansible Automation Platform A definitive way to manage Ansible Automation Platform and Ansible Tower

Arrow left icon
Product type Paperback
Published in Sep 2022
Publisher Packt
ISBN-13 9781803244884
Length 314 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Sean Sullivan Sean Sullivan
Author Profile Icon Sean Sullivan
Sean Sullivan
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1: Getting Ansible Automation Platform Up and Running
2. Chapter 1: Introduction to Ansible Automation Platform FREE CHAPTER 3. Chapter 2: Installing Ansible Automation Platform 4. Chapter 3: Installing Ansible Automation Platform on OpenShift 5. Chapter 4: Configuring Settings and Authentication 6. Part 2: Configuring AAP
7. Chapter 5: Configuring the Basics after Installation 8. Chapter 6: Configuring Role-Based Access Control 9. Chapter 7: Creating Inventory, and Other Inventory Pieces 10. Chapter 8: Creating Execution Environments 11. Chapter 9: Automation Hub Management 12. Chapter 10: Creating Job Templates and Workflows 13. Part 3: Extending Ansible Tower
14. Chapter 11: Creating Advanced Workflows and Jobs 15. Chapter 12: Using CI/CD to Interact with Automation Controller 16. Chapter 13: Integration with Other Services 17. Chapter 14: Automating at Scale with Automation Mesh 18. Chapter 15: Using Automation Services Catalog 19. Index 20. Other Books You May Enjoy

Ad hoc commands

On most occasions, there is a call to use an actual playbook, but when things start getting to playbooks within playbooks, or maybe information is needed on another host that is not in the inventory, it’s possible to get creative. We have never actually found a reason to use the ad hoc modules and roles; however, it is good to know that they are there. Additionally, if there ever was a reason to use them, it would be in a CI/CD job outside of the Automation controller.

The modules have several important inputs as follows:

  • module_name: The name of the module to use. This is limited, but more modules can be added in the Automation controller settings.
  • module_args: The arguments to use for the command.
  • inventory: Inventory to use for the command.
  • credential: Credential to use for the command.
  • interval: The interval to use when checking for an update on the job.
  • timeout: Time to wait on the job to end.
  • wait: Boolean, whether to...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime