Abstract
In the previous chapter, we created what we called a very simple inventory file, so you could be forgiven for thinking it isn’t all that important. Nothing could be further from the truth. The inventory file is pivotal to your Ansible journey, and mastering it is the key to effectively managing large, complex configurations of servers. In this chapter we will expand our knowledge of the all-important Inventory, using groups of hosts, assigning variables that can differ per host or group and targeting these groups using include/exclude options to the ansible command.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2022 Peter Membrey and Shaun R Smith
About this chapter
Cite this chapter
Smith, S.R., Membrey, P. (2022). Choosing Your Targets. In: Beginning Ansible Concepts and Application. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-8173-4_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-8173-4_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-8172-7
Online ISBN: 978-1-4842-8173-4
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books