Install ZFS on home server 🎉

This commit is contained in:
Jake Howard 2020-08-19 21:34:23 +01:00
parent a5aa21429c
commit a2e021ac43
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 20 additions and 2 deletions

View file

@ -28,6 +28,13 @@
- watchtower - watchtower
- traefik - traefik
# ZFS Hosts
- hosts:
- walker
- intersect
roles:
- zfs
- hosts: intersect - hosts: intersect
roles: roles:
- netdata - netdata
@ -43,5 +50,4 @@
- statping - statping
- upload - upload
- website - website
- zfs
- duplicati - duplicati

View file

@ -1,6 +1,6 @@
- name: Install dependencies for Arch - name: Install dependencies for Arch
package: package:
name: name: "{{ item }}"
loop: loop:
- perl - perl
- perl-capture-tiny - perl-capture-tiny
@ -10,6 +10,18 @@
when: ansible_os_family == 'Archlinux' when: ansible_os_family == 'Archlinux'
become: true become: true
- name: Install dependencies for Debian-based distros
package:
name: "{{ item }}"
loop:
- libcapture-tiny-perl
- libconfig-inifiles-perl
- pv
- lzop
- mbuffer
when: ansible_os_family == 'Debian'
become: true
- name: Download - name: Download
git: git:
repo: https://github.com/jimsalterjrs/sanoid.git repo: https://github.com/jimsalterjrs/sanoid.git