From the course: Ansible: From Basics to Guru by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Ansible infrastructure components

Ansible infrastructure components - Ansible Tutorial

From the course: Ansible: From Basics to Guru by Pearson

Ansible infrastructure components

Okay, let me show you what an Ansible environment typically looks like, focusing on a Linux based environment. So what do we have? We have the control node. And then we have the managed node. The first thing that you need in order to get from the control node to the manage node is access. And the access in Ansible is typically happening by using SSH, the secure shell process. Now if you want to SSH into a manage node, you also need a user account. In Ansible, it's normal to have a dedicated user on all of your manage nodes, and it is very convenient if the names of these managed users are the same throughout. Normally, that would be key-based login, SSH key-based login, because it's not convenient if you need to enter an SSH password all the time. So, you need to generate an SSH key pair and make sure that the keys are synchronized between a control node and a managed node. And then we're almost there. That is because Ansible setup really is simple. That was a design goal of Ansible…

Contents