Ansible tools to create/update FreeBSD jails with ZFS.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
László Károlyi f88364ae20
The warn argument has been removed from and ansible.builtin.command
2 months ago
defaults Update jail updater, add vim control statements 3 years ago
meta Add new FreeBSD versions 2 years ago
tasks The warn argument has been removed from and ansible.builtin.command 2 months ago
tests Updating tests 6 years ago
tools Wholly revamping pkgvalidator script 10 months ago
.travis.yml More speedup for travis 6 years ago Adjusting import paths 6 years ago

Role Name

This role is a set of tools for maintaining FreeBSD jails using ZFS. The nature of this role is to include the tasks/jail/main.yml with the proper variables set up. It will check if the underlying OS version in the jail is outdated, and update if necessary, while calling configured hooks during the process.

I use this on my single server box to maintain separation between various services. Of course, the nature of Ansible does make this rule and anything that uses it, scalable.


A fairly recent FreeBSD box.

Role Variables

Variables this role uses are defined in the defaults/main.yml file, using sensible defaults. Override then at your convenience.


This role depends on an already existing 'jail template', that is provided by the role karolyi.freebsd-zfs-jailtemplate.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts:
    - localhost
     - karolyi.ansible-freebsd-jailhost-tools



Author Information

László Károlyi: Linkedin profile