Ansible tools to create/update FreeBSD jails with ZFS.
Find a file
2021-05-16 17:24:47 +02:00
defaults Update jail updater, add vim control statements 2020-09-19 10:06:25 +02:00
meta Add new FreeBSD versions 2021-02-18 12:40:48 +01:00
tasks Use ansible.posix.mount for 2.11 2021-05-16 17:24:47 +02:00
tests Updating tests 2017-03-09 17:44:40 +01:00
tools Adjusting revalidator due to changed pkg store format 2021-05-16 17:00:20 +02:00
.travis.yml More speedup for travis 2017-03-09 17:49:53 +01:00
README.md Adjusting import paths 2017-03-09 17:58:42 +01:00

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.

Requirements

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.

Dependencies

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
  roles:
     - karolyi.ansible-freebsd-jailhost-tools

License

BSD

Author Information

László Károlyi: Linkedin profile