A repo for setting up ansible and ssh in a TrueNAS/FreeBSD jail.
The scripts and playbooks in this repository are meant to be executed in the freebsd jail.
One-shot command to install curl, enable SSH and set up an ansible user with password-less sudo privileges
sh -c "env ASSUME_ALWAYS_YES=YES pkg bootstrap && \
pkg update && \
pkg install -y curl && \
curl -Lo- https://raw.githubusercontent.com/mcflis/ansible-freebsd-jail-setup/main/install.sh | sh"