Basic sequence to bootstrap.
Before we can use Ansible on an OpenBSD host, you will need some basic things in place.
Follow our instructions if you haven't already installed your basic OS configuration, with network access obviously.
Create the account that you wish to use for administrating your host(s). In our case, we already have enough accounts with sudo/root access. By reusing these accounts we can backtrace who/when ansible scripts were executed.
Ensure SSH Public Key is installed
To simplify the process, we use SSH Key Access exclusively after the install.
Ansible uses Python for executing commands on the local host. Naturally, this means you have to install Python.
Python 2.6 or later.
Ansible uses JSON to communicate between the host/server and the client. JSON was included into the Python Standard Library (PSL) in release 2.6. For earlier versions of Python you will need to install a JSON compatible with Ansible.