Skip to the content.

Ansible - Inventory ๐Ÿงณ

Description ๐Ÿ‘€

Ansible can work with one or more systems in your infrastructure at the same time. In order to work with multiple servers Ansible needs to establish a connection to those servers. This is done with SSH on linux, and Powershell Remoting for Windows. Most of the pitfalls for other orchestration tools is that you are required to set up an agent on the target machines before you can invoke any automation. This is not the case with Ansible. Ansible is agentless, meaning no additional software is needed on the target machines to be able to work with Ansible.

Information about the target machines is stored in an inventory. The inventory is a file that contains a list of hosts and groups of hosts. The inventory file is located in the /etc/ansible/hosts directory by default.


Basic Commands ๐Ÿ“


Examples ๐Ÿงฉ


Testing ๐Ÿงช

refer to this link to get up and running


โ†ฉ๏ธ