sanoid

Ansible Role: Sanoid Ansible Role GitHub tag (latest SemVer) Ansible Role Ansible Role Pipeline status

Install and configure Sanoid for automatic ZFS snapshots.

Role Variables

List of variables from defaults/main.yml.

sanoid_package: sanoid

Package to install. You should not need to override this.

sanoid_templates:
  - name: example
    frequently: 0
    hourly: 24
    daily: 7
    monthly: 12
    yearly: 0
    autosnap: "yes"
    autoprune: "yes"

Dictionary of Sanoid backup templates. The example showcases available options. The quotes around "yes" are required.

sanoid_datasets:
  - name: example
    use_template: example
    recursive: "yes"
    process_children_only: "yes"
    yearly: 1

Dictionary of datasets to take snapshots of. The example showcases some of the available options. In addition, options from sanoid_templates are available as well. The quotes around "yes" are required.

Example Playbook

- hosts: all

  vars:
    - name: tank
      process_children_only: "yes"
      recursive: "yes"
      use_template: example

  roles:
     - radek_sprta.sanoid

License

MIT

Author Information

Radek Sprta mail@radeksprta.eu

About

Install and configure Sanoid for automatic ZFS snapshots.

Install
ansible-galaxy install radek-sprta/ansible-role-sanoid
GitHub repository
License
mit
Downloads
258