How to prepare FreeBSD server to be managed by Ansible tool

#1

Originally published at: https://www.cyberciti.biz/faq/how-to-prepare-freebsd-server-to-be-managed-by-ansible-tool/

I know Ansible manages Linux server using SSH by default. I thought FreeBSD servers are running in the cloud are no exception. However, I ran into problems. I am unable to manage freshly created FreeBSD server using Ansible DevOps/IT automation tool. How can I manage my FreeBSD server using Ansible?