Skip to content

angristan/ansible-zfs-auto-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zfs-auto-snapshot Ansible role

This is an ansible role for zfsonlinux/zfs-auto-snapshot, the ZFS Automatic Snapshot Service for Linux.

It will copy the zfs-auto-snapshot script and man(8).

5 cron are available:

  • frequent (every 15 minutes)
  • hourly
  • daily
  • weekly
  • monthly

Each cron has its own retention time.

You can enable/disable crons and tune their retention periods using variables. See defaults/main.yml.

Example playbook

Example:

---

- hosts: zfsbox
  roles: zfs-auto-snapshot
  vars:
    zfs_auto_snapshot_monthly_disabled: true
    zfs_auto_snapshot_hourly_keep: 48

About

zfs-auto-snapshot Ansible role

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published