This guide by user Rubénerd shows us how to get Ansible set up on FreeBSD. Ansible is a powerful open-source IT automation engine designed for efficient workflow. See the link below for the full set of instructions.
I use Ansible where possible at work; it’s really wonderful stuff for Linux. Unfortunately, its support for the BSDs has never been fantastic, evidenced by their zero-dependency claim when a Python interpreter is required!
Given the dearth of BSD Ansible material online, I thought I’d share some tips I’ve learned since trying it out. This is all valid as of Ansible 126.96.36.199.
Bootstrapping a fresh FreeBSD install
Since I wrote my first playbooks, the Ansible BSD docs now list a process using the “raw” method to bootstrap dependencies on a fresh FreeBSD install:
Full tutorial: https://rubenerd.com/ansible-on-freebsd/