https://github.com/angristan/ansible-zfs-auto-snapshot
zfs-auto-snapshot Ansible role
https://github.com/angristan/ansible-zfs-auto-snapshot
ansible zfs
Last synced: 7 months ago
JSON representation
zfs-auto-snapshot Ansible role
- Host: GitHub
- URL: https://github.com/angristan/ansible-zfs-auto-snapshot
- Owner: angristan
- License: mit
- Created: 2019-02-10T22:57:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-22T18:41:48.000Z (over 5 years ago)
- Last Synced: 2025-03-15T15:45:00.194Z (7 months ago)
- Topics: ansible, zfs
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zfs-auto-snapshot Ansible role
This is an ansible role for [zfsonlinux/zfs-auto-snapshot](https://github.com/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
- monthlyEach 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:
```yaml
---- hosts: zfsbox
roles: zfs-auto-snapshot
vars:
zfs_auto_snapshot_monthly_disabled: true
zfs_auto_snapshot_hourly_keep: 48
```