Skip to content

Commit

Permalink
roles/zfs: enable preset zfs services
Browse files Browse the repository at this point in the history
Signed-off-by: John Helmert III <[email protected]>
  • Loading branch information
ajakk committed Oct 2, 2023
1 parent 1dcdb29 commit d72d8f8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions roles/zfs/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,16 @@
- cron.daily
- cron.weekly
- cron.monthly
- name: Start and enable zfs services
when: zfs
ansible.builtin.service:
name: "{{ item }}"
state: started
enabled: true
loop:
- zfs-import-cache.service
- zfs-mount.service
- zfs-share.service
- zfs-zed.service
- zfs-volume-wait.service
- zfs.target

0 comments on commit d72d8f8

Please sign in to comment.