Cheat Sheet - SSH Into Remote Machines Using Ansible
Cheat Sheet - SSH Into Remote Machines Using Ansible
Cheat sheet
Ansible inventories let you group hosts based on shared characteristics, such as environment, role, or location,
allowing for targeted and efficient configuration management. Defining inventories gives administrators more
control over their infrastructure and enables seamless orchestration and deployment of Ansible playbooks across the
desired hosts. Ansible uses SSH protocol to connect to servers and run tasks, providing flexible and secure options
for remote connectivity.
In this cheat sheet, you’ll learn how to manage and configure remote hosts. This cheat sheet covers two different
approaches:
Figure 1: Adding a new inventory from the Ansible Automation Platform Inventory page.
developers.redhat.com redhat-developer @rhdevelopers
11. Run the job templates by defining the inventory, as shown in Figure 4.