Episode 3.5: Basic Ansible With SSH Keys

Episode 3.5: Basic Ansible With SSH Keys

Now that we have a SSH key, we can configure the server to host our ASP.NET Core application. We use Ansible for this because of its relative simplicity vs many of the other available tools.

Before we do any real configuration we need to verify Ansible (https://www.ansible.com) can connect to and execute commands on the server. Ansible playbooks can only be run from linux. Happily, Windows users are not out of luck because Ansible works perfectly fine from Windows Subsystem For Linux (WSL) (https://docs.microsoft.com/en-us/windows/wsl/install-win10).

Some extra steps are needed however when running Ansible running in WSL. Read more at https://requestmetrics.com/making-of/episode-3_5-basic-ansible-with-ssh-keys