From the course: Learning Ansible

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Ansible and remote management

Ansible and remote management - Ansible Tutorial

From the course: Learning Ansible

Start my 1-month free trial

Ansible and remote management

- [Instructor] Now as I'm sure you've noticed in order to easily test and practice with Ansible, you can execute things against your local host. But this is the control mode. This is the machine that is supposed to be controlling our remote systems oftentimes. So let's just make sure you remember exactly how remote management is achieved in Ansible. So remember, one of the great things is that Ansible calls upon the secure sure shell in order to access remote systems. Here I am on my control node and if I do a listing, I see that I'm in my home directory. And there's a mystuf folder that I've created. So let's do this: Let's list my home directory. But let's see any files that are marked to be hidden. And of course, that's done in Linux with the period in front of the directory name in this case. So I'm going to change directories to the .ssh folder. And here if I do a list, we can see that there's an id_rsa.hub. If we…

Contents