From 8c9f7fa79f7708d9b710c5db22eddbf3fb2f70ae Mon Sep 17 00:00:00 2001 From: mg Date: Sun, 7 Feb 2021 10:53:08 +0100 Subject: [PATCH] ZFS per Ansible --- Archiv/jenkins/vars-jenkins.yml | 2 +- group_vars/all.yml | 4 +- group_vars/ansible.yml | 2 +- group_vars/proxmox.yml | 4 +- host_vars/pve2.grote.lan.yml | 29 +++++++++++++++ playbooks/base/2_packages.yml | 6 +-- playbooks/service/proxmox.yml | 7 ++-- .../README.md | 2 +- .../defaults/main.yml | 0 .../handlers/main.yml | 0 .../tasks/main.yml | 0 .../templates/hddtemps.sh | 0 .../templates/systemtemps.sh | 0 .../README.md | 2 +- .../defaults/main.yml | 0 .../tasks/main.yml | 0 .../tasks/proxmox.yml | 0 .../tasks/ubuntu.yml | 0 .../templates/ubuntu_sources.list | 0 roles/mgrote.apt_update_packages/README.md | 12 ++++++ .../tasks/main.yml | 0 roles/mgrote.set_apt_proxy/defaults/main.yml | 11 ------ roles/mgrote.tmux/README.md | 3 +- roles/mgrote.update_packages/README.md | 21 ----------- roles/mgrote.zfs_manage_datasets/README.md | 37 +++++++++++++++++++ .../mgrote.zfs_manage_datasets/meta/main.yml | 3 ++ .../mgrote.zfs_manage_datasets/tasks/main.yml | 23 ++++++++++++ .../README.md | 2 +- .../defaults/main.yml | 0 .../tasks/main.yml | 0 .../templates/sanoid-cron.sh | 0 .../templates/sanoid.conf.j2 | 0 .../README.md | 2 +- .../defaults/main.yml | 0 .../handlers/main.yml | 0 .../meta/main.yml | 0 .../tasks/main.yml | 0 .../templates/sudoers_zfs | 0 .../templates/zed.rc | 0 .../templates/zfs-free.sh | 0 .../templates/zfs-health.sh | 0 41 files changed, 122 insertions(+), 50 deletions(-) create mode 100644 host_vars/pve2.grote.lan.yml rename roles/{mgrote.install_packages => mgrote.apt_install_packages}/README.md (90%) rename roles/{mgrote.install_packages => mgrote.apt_install_packages}/defaults/main.yml (100%) rename roles/{mgrote.install_packages => mgrote.apt_install_packages}/handlers/main.yml (100%) rename roles/{mgrote.install_packages => mgrote.apt_install_packages}/tasks/main.yml (100%) rename roles/{mgrote.install_packages => mgrote.apt_install_packages}/templates/hddtemps.sh (100%) rename roles/{mgrote.install_packages => mgrote.apt_install_packages}/templates/systemtemps.sh (100%) rename roles/{mgrote.manage_sources_apt => mgrote.apt_manage_sources}/README.md (92%) rename roles/{mgrote.manage_sources_apt => mgrote.apt_manage_sources}/defaults/main.yml (100%) rename roles/{mgrote.manage_sources_apt => mgrote.apt_manage_sources}/tasks/main.yml (100%) rename roles/{mgrote.manage_sources_apt => mgrote.apt_manage_sources}/tasks/proxmox.yml (100%) rename roles/{mgrote.manage_sources_apt => mgrote.apt_manage_sources}/tasks/ubuntu.yml (100%) rename roles/{mgrote.manage_sources_apt => mgrote.apt_manage_sources}/templates/ubuntu_sources.list (100%) create mode 100644 roles/mgrote.apt_update_packages/README.md rename roles/{mgrote.update_packages => mgrote.apt_update_packages}/tasks/main.yml (100%) delete mode 100644 roles/mgrote.set_apt_proxy/defaults/main.yml delete mode 100644 roles/mgrote.update_packages/README.md create mode 100644 roles/mgrote.zfs_manage_datasets/README.md create mode 100644 roles/mgrote.zfs_manage_datasets/meta/main.yml create mode 100644 roles/mgrote.zfs_manage_datasets/tasks/main.yml rename roles/{mgrote.sanoid => mgrote.zfs_sanoid}/README.md (90%) rename roles/{mgrote.sanoid => mgrote.zfs_sanoid}/defaults/main.yml (100%) rename roles/{mgrote.sanoid => mgrote.zfs_sanoid}/tasks/main.yml (100%) rename roles/{mgrote.sanoid => mgrote.zfs_sanoid}/templates/sanoid-cron.sh (100%) rename roles/{mgrote.sanoid => mgrote.zfs_sanoid}/templates/sanoid.conf.j2 (100%) rename roles/{mgrote.zfs_tools => mgrote.zfs_tools_cron}/README.md (98%) rename roles/{mgrote.zfs_tools => mgrote.zfs_tools_cron}/defaults/main.yml (100%) rename roles/{mgrote.zfs_tools => mgrote.zfs_tools_cron}/handlers/main.yml (100%) rename roles/{mgrote.zfs_tools => mgrote.zfs_tools_cron}/meta/main.yml (100%) rename roles/{mgrote.zfs_tools => mgrote.zfs_tools_cron}/tasks/main.yml (100%) rename roles/{mgrote.zfs_tools => mgrote.zfs_tools_cron}/templates/sudoers_zfs (100%) rename roles/{mgrote.zfs_tools => mgrote.zfs_tools_cron}/templates/zed.rc (100%) rename roles/{mgrote.zfs_tools => mgrote.zfs_tools_cron}/templates/zfs-free.sh (100%) rename roles/{mgrote.zfs_tools => mgrote.zfs_tools_cron}/templates/zfs-health.sh (100%) diff --git a/Archiv/jenkins/vars-jenkins.yml b/Archiv/jenkins/vars-jenkins.yml index 91afb562..9e558ff5 100644 --- a/Archiv/jenkins/vars-jenkins.yml +++ b/Archiv/jenkins/vars-jenkins.yml @@ -29,6 +29,6 @@ from_ip: 192.168.2.0/24 ### mgrote.restic restic_folders_to_backup: /usr/local /etc /root /home /var/lib/jenkins - ### mgrote.install_packages + ### mgrote.apt_install_packages programs_extra: - sshpass diff --git a/group_vars/all.yml b/group_vars/all.yml index ca2ac5c4..ef22677c 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -8,7 +8,7 @@ postfix_smtp_server: smtp.strato.de postfix_smtp_server_port: 587 postfix_smtp_use_tls: "yes" - ### mgrote.manage_sources_apt + ### mgrote.apt_manage_sources manage_sources_apt_proxy_url: "acng.grote.lan:9999" ### mgrote.restic restic_folders_to_backup: "/usr/local /etc /root /var/www /home" @@ -79,7 +79,7 @@ - .tmux.conf - .gitconfig - .vimrc - ### mgrote.install_packages + ### mgrote.apt_install_packages programs_common: - locales - python diff --git a/group_vars/ansible.yml b/group_vars/ansible.yml index 36fb0eef..fb7af541 100644 --- a/group_vars/ansible.yml +++ b/group_vars/ansible.yml @@ -11,7 +11,7 @@ ansible_install_version_pip: '2.10' ### mgrote.restic restic_folders_to_backup: "/usr/local /etc /root /home" - ### mgrote.install_packages + ### mgrote.apt_install_packages programs_extra: - graphviz # für ansible-playbook-grapher - sshpass diff --git a/group_vars/proxmox.yml b/group_vars/proxmox.yml index c5f7a346..efc5a153 100644 --- a/group_vars/proxmox.yml +++ b/group_vars/proxmox.yml @@ -9,7 +9,7 @@ - .bash_aliases - .tmux.conf - .gitconfig - ### mgrote.sanoid + ### mgrote.zfs_sanoid sanoid_datasets: - path: 'hdd_data_raidz/videos' template: 'hourly' # muss in Templates angelegt sein @@ -50,7 +50,7 @@ BATTERYLEVEL: 50 MINUTES: 10 NOLOGON: disable - ### mgrote.zfs_tools + ### mgrote.zfs_tools_cron zfs_arc_max: "12884901888" zfs_pools: - name: "ssd_vm_mirror" diff --git a/host_vars/pve2.grote.lan.yml b/host_vars/pve2.grote.lan.yml new file mode 100644 index 00000000..1bcd4efc --- /dev/null +++ b/host_vars/pve2.grote.lan.yml @@ -0,0 +1,29 @@ +--- + ### mgrote.zfs_manage_datasets + # "Daten"-Datasets verwalte ich händisch! + # zfs create -o encryption=aes-256-gcm -o keyformat=passphrase hdd_data_raidz/data_crypt + # zfs create hdd_data_raidz/videos + # Pools müssen vorher erstellt sein! + # SSD_VM_MIRROR + # zpool create -f -o ashift=12 ssd_vm_mirror mirror /dev/disk/by-id/ata-ADATA_SU650_2J4420001210 /dev/disk/by-id/ata-ADATA_SU650_2J4420001241 + # HDD_VM_MIRROR + # zpool create -f -o ashift=12 hdd_vm_mirror mirror /dev/disk/by-id/ata-WDC_WD20EACS-11BHUB0_WD-WCAZA3124223 /dev/disk/by-id/ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M1682516 mirror /dev/disk/by-id/ata-WDC_WD30EZRX-00DC0B0_WD-WMC1T3979908 /dev/disk/by-id/ata-TOSHIBA_DT01ACA300_83M2DRAKS + # HDD_DATA_RAIDZ + # zpool create -f -o ashift=12 hdd_data_raidz raidz /dev/disk/by-id/ata-WDC_WD80EZAZ-11TDBA0_2SG991TJ /dev/disk/by-id/ata-WDC_WD80EZAZ-11TDBA0_2SGA23EJ /dev/disk/by-id/ata-ST8000DM004-2CX188_ZCT1AK0F + zfs_datasets: + - dataset: ssd_vm_mirror/vm + state: present + compression: lz4 + sync: disabled + xattr: sa + dnodesize: auto + atime: on + snapdir: hidden + - dataset: hdd_vm_mirror/vm + state: present + compression: lz4 + sync: disabled + xattr: sa + dnodesize: auto + atime: on + snapdir: hidden diff --git a/playbooks/base/2_packages.yml b/playbooks/base/2_packages.yml index 80809ef6..389ad3b7 100644 --- a/playbooks/base/2_packages.yml +++ b/playbooks/base/2_packages.yml @@ -1,11 +1,11 @@ --- - hosts: all roles: - - { role: mgrote.manage_sources_apt, + - { role: mgrote.apt_manage_sources, tags: "apt_sources" } - - { role: mgrote.update_packages, + - { role: mgrote.apt_update_packages, tags: "updates", serial: 3 } - - { role: mgrote.install_packages, + - { role: mgrote.apt_install_packages, tags: "install", serial: 3 } diff --git a/playbooks/service/proxmox.yml b/playbooks/service/proxmox.yml index 530fd191..6edaff72 100644 --- a/playbooks/service/proxmox.yml +++ b/playbooks/service/proxmox.yml @@ -1,12 +1,13 @@ --- - hosts: proxmox roles: - - { role: mgrote.manage_sources_apt, tags: "apt_sources" } + - { role: mgrote.zfs_manage_datasets, tags: "datasets" } + - { role: mgrote.apt_manage_sources, tags: "apt_sources" } - { role: mgrote.apcupsd, tags: "apcupsd" } - { role: mgrote.smart, tags: "smart" } - - { role: mgrote.zfs_tools, tags: "zfs_tools" } + - { role: mgrote.zfs_tools_cron, tags: "zfs_tools" } - { role: mgrote.postfix, tags: "postfix" } - - { role: mgrote.sanoid, tags: "sanoid" } + - { role: mgrote.zfs_sanoid, tags: "sanoid" } - { role: mgrote.ecc-rasdaemon, tags: "ecc", when: "'pve2.grote.lan' in inventory_hostname" } diff --git a/roles/mgrote.install_packages/README.md b/roles/mgrote.apt_install_packages/README.md similarity index 90% rename from roles/mgrote.install_packages/README.md rename to roles/mgrote.apt_install_packages/README.md index 0c32d323..6fbb4774 100644 --- a/roles/mgrote.install_packages/README.md +++ b/roles/mgrote.apt_install_packages/README.md @@ -1,4 +1,4 @@ -## mgrote.install_packages +## mgrote.apt_install_packages ### Beschreibung Fuehrt: diff --git a/roles/mgrote.install_packages/defaults/main.yml b/roles/mgrote.apt_install_packages/defaults/main.yml similarity index 100% rename from roles/mgrote.install_packages/defaults/main.yml rename to roles/mgrote.apt_install_packages/defaults/main.yml diff --git a/roles/mgrote.install_packages/handlers/main.yml b/roles/mgrote.apt_install_packages/handlers/main.yml similarity index 100% rename from roles/mgrote.install_packages/handlers/main.yml rename to roles/mgrote.apt_install_packages/handlers/main.yml diff --git a/roles/mgrote.install_packages/tasks/main.yml b/roles/mgrote.apt_install_packages/tasks/main.yml similarity index 100% rename from roles/mgrote.install_packages/tasks/main.yml rename to roles/mgrote.apt_install_packages/tasks/main.yml diff --git a/roles/mgrote.install_packages/templates/hddtemps.sh b/roles/mgrote.apt_install_packages/templates/hddtemps.sh similarity index 100% rename from roles/mgrote.install_packages/templates/hddtemps.sh rename to roles/mgrote.apt_install_packages/templates/hddtemps.sh diff --git a/roles/mgrote.install_packages/templates/systemtemps.sh b/roles/mgrote.apt_install_packages/templates/systemtemps.sh similarity index 100% rename from roles/mgrote.install_packages/templates/systemtemps.sh rename to roles/mgrote.apt_install_packages/templates/systemtemps.sh diff --git a/roles/mgrote.manage_sources_apt/README.md b/roles/mgrote.apt_manage_sources/README.md similarity index 92% rename from roles/mgrote.manage_sources_apt/README.md rename to roles/mgrote.apt_manage_sources/README.md index 79dae95d..a9254cfd 100644 --- a/roles/mgrote.manage_sources_apt/README.md +++ b/roles/mgrote.apt_manage_sources/README.md @@ -1,4 +1,4 @@ -## mgrote.manage_sources_apt +## mgrote.apt_manage_sources ### Beschreibung - Diese Rolle ersetzt die `/etc/apt/sources.list` mit einer Datei in der ein Apt-Cacher-NG gesetzt ist. diff --git a/roles/mgrote.manage_sources_apt/defaults/main.yml b/roles/mgrote.apt_manage_sources/defaults/main.yml similarity index 100% rename from roles/mgrote.manage_sources_apt/defaults/main.yml rename to roles/mgrote.apt_manage_sources/defaults/main.yml diff --git a/roles/mgrote.manage_sources_apt/tasks/main.yml b/roles/mgrote.apt_manage_sources/tasks/main.yml similarity index 100% rename from roles/mgrote.manage_sources_apt/tasks/main.yml rename to roles/mgrote.apt_manage_sources/tasks/main.yml diff --git a/roles/mgrote.manage_sources_apt/tasks/proxmox.yml b/roles/mgrote.apt_manage_sources/tasks/proxmox.yml similarity index 100% rename from roles/mgrote.manage_sources_apt/tasks/proxmox.yml rename to roles/mgrote.apt_manage_sources/tasks/proxmox.yml diff --git a/roles/mgrote.manage_sources_apt/tasks/ubuntu.yml b/roles/mgrote.apt_manage_sources/tasks/ubuntu.yml similarity index 100% rename from roles/mgrote.manage_sources_apt/tasks/ubuntu.yml rename to roles/mgrote.apt_manage_sources/tasks/ubuntu.yml diff --git a/roles/mgrote.manage_sources_apt/templates/ubuntu_sources.list b/roles/mgrote.apt_manage_sources/templates/ubuntu_sources.list similarity index 100% rename from roles/mgrote.manage_sources_apt/templates/ubuntu_sources.list rename to roles/mgrote.apt_manage_sources/templates/ubuntu_sources.list diff --git a/roles/mgrote.apt_update_packages/README.md b/roles/mgrote.apt_update_packages/README.md new file mode 100644 index 00000000..91a312a8 --- /dev/null +++ b/roles/mgrote.apt_update_packages/README.md @@ -0,0 +1,12 @@ +## mgrote.apt_update_packages + +### Beschreibung +Fuehrt: +1. `apt update` +2. `apt upgrade` +aus. + +### Funktioniert auf +- [x] Ubuntu (>=18.04) +- [x] Debian +- [x] ProxMox 6.1 diff --git a/roles/mgrote.update_packages/tasks/main.yml b/roles/mgrote.apt_update_packages/tasks/main.yml similarity index 100% rename from roles/mgrote.update_packages/tasks/main.yml rename to roles/mgrote.apt_update_packages/tasks/main.yml diff --git a/roles/mgrote.set_apt_proxy/defaults/main.yml b/roles/mgrote.set_apt_proxy/defaults/main.yml deleted file mode 100644 index 84beabc6..00000000 --- a/roles/mgrote.set_apt_proxy/defaults/main.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- - manage_sources_apt_proxy_url: "" # leer = kein proxy, sonst "acng.grote.lan:9999" - manage_sources_enterprise_repo_path: /etc/apt/sources.list.d/pve-enterprise.list # wo ist das enterprise-repo - manage_sources_apt_repo_key_url: http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg # url zum key für no-subscription-repo - manage_sources_apt_repo_key_path: /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg # pfad lokal zum key für no-subscription-repo - manage_sources_apt_repo_no_subscription: deb http://{{ manage_sources_apt_proxy_url }}/download.proxmox.com/debian/pve buster pve-no-subscription # url zum für no-subscription-repo, manage_sources_apt_proxy_url wird aus der variable entnommen - manage_sources_proxmox_base_repos: # welche debian standard repos sollen gesetzt werden, werden vorher gelöscht damit ein proxy dann gesetzt werden kann - - repo_url: deb http://ftp.de.debian.org/debian buster main contrib - - repo_url: deb http://ftp.de.debian.org/debian buster-updates main contrib - - repo_url: deb http://security.debian.org buster/updates main contrib - manage_sources_debian_repo_path: /etc/apt/sources.list.d/debian # , wol sollen die standard-repos gespeichert werden; nicht auf /etc/apt/sources setzen, diese datei wird gelöscht diff --git a/roles/mgrote.tmux/README.md b/roles/mgrote.tmux/README.md index d5ecb8b9..7c6e14c9 100644 --- a/roles/mgrote.tmux/README.md +++ b/roles/mgrote.tmux/README.md @@ -1,5 +1,4 @@ -## mgrote.install_packages - +## mgrote.tmux ### Beschreibung Installiert tmux und erstellt .tmux.conf. Setzt tmux als "Standard-Shell". diff --git a/roles/mgrote.update_packages/README.md b/roles/mgrote.update_packages/README.md deleted file mode 100644 index 488ef9fc..00000000 --- a/roles/mgrote.update_packages/README.md +++ /dev/null @@ -1,21 +0,0 @@ -## mgrote.install_packages - -### Beschreibung -Fuehrt: -1. `apt update` -3. ` apt install {{ programme }}` -2. `apt upgrade` -aus. - -### Funktioniert auf -- [x] Ubuntu (>=18.04) -- [x] Debian -- [ ] CentOS -- [x] ProxMox 6.1 - -### Variablen + Defaults -##### Programme - - htop - - nano - - mc - - curl diff --git a/roles/mgrote.zfs_manage_datasets/README.md b/roles/mgrote.zfs_manage_datasets/README.md new file mode 100644 index 00000000..525a9900 --- /dev/null +++ b/roles/mgrote.zfs_manage_datasets/README.md @@ -0,0 +1,37 @@ +## mgrote.zfs_manage_datasets + +### Beschreibung +Erstellt Datasets/setzt Optionen pro Dataset. +Kann Datasets löschen. +Die Pools müssen vorher existieren. +Beim ersten ausführen wird es wahrscheinlich zu Status: "changed" kommen, weil: +```bash +ssd_vm_mirror/vm xattr sa inherited from ssd_vm_mirror +ssd_vm_mirror/vm xattr sa local +``` +Die Attribute werden nicht mehr vererbt sondern als "local" gesetzt + +### Funktioniert auf +- [x] ProxMox 6.1 + +### Variablen + Defaults +#### Standardwerte +``` +state: present +compression: lz4 +sync: standard +xattr: on +dnodesize: auto +atime: off +snapdir: hidden +``` +#### Empfohlen für VMs +``` +state: present +compression: lz4 +sync: disabled +xattr: sa +dnodesize: auto +atime: off +snapdir: hidden +``` diff --git a/roles/mgrote.zfs_manage_datasets/meta/main.yml b/roles/mgrote.zfs_manage_datasets/meta/main.yml new file mode 100644 index 00000000..b4b6cedb --- /dev/null +++ b/roles/mgrote.zfs_manage_datasets/meta/main.yml @@ -0,0 +1,3 @@ +--- + collections: + - community.general diff --git a/roles/mgrote.zfs_manage_datasets/tasks/main.yml b/roles/mgrote.zfs_manage_datasets/tasks/main.yml new file mode 100644 index 00000000..42f04899 --- /dev/null +++ b/roles/mgrote.zfs_manage_datasets/tasks/main.yml @@ -0,0 +1,23 @@ +--- + - name: create datasets + become: true + community.general.zfs: + name: "{{ item.dataset }}" + state: "{{ item.state | default('present') }}" + loop: "{{ zfs_datasets }}" + when: zfs_datasets is defined # führe nur aus wenn die Variable gesetzt ist + + - name: set zfs properties per datasets + become: true + community.general.zfs: + name: "{{ item.dataset }}" + state: "{{ item.state | default('present') }}" + extra_zfs_properties: + compression: "{{ item.compression | default('lz4') }}" + sync: "{{ item.sync | default('standard') }}" + xattr: "{{ item.xattr | default('on') }}" + dnodesize: "{{ item.dnodesize | default('auto') }}" + atime: "{{ item.atime | default('off') }}" + snapdir: "{{ item.snapdir | default('hidden') }}" + loop: "{{ zfs_datasets }}" + when: zfs_datasets is defined # führe nur aus wenn die Variable gesetzt ist diff --git a/roles/mgrote.sanoid/README.md b/roles/mgrote.zfs_sanoid/README.md similarity index 90% rename from roles/mgrote.sanoid/README.md rename to roles/mgrote.zfs_sanoid/README.md index bc689ccf..daf5a988 100644 --- a/roles/mgrote.sanoid/README.md +++ b/roles/mgrote.zfs_sanoid/README.md @@ -1,4 +1,4 @@ -## mgrote.sanoid +## mgrote.zfs_sanoid ### Beschreibung Installiert und konfiguriert sanoid. diff --git a/roles/mgrote.sanoid/defaults/main.yml b/roles/mgrote.zfs_sanoid/defaults/main.yml similarity index 100% rename from roles/mgrote.sanoid/defaults/main.yml rename to roles/mgrote.zfs_sanoid/defaults/main.yml diff --git a/roles/mgrote.sanoid/tasks/main.yml b/roles/mgrote.zfs_sanoid/tasks/main.yml similarity index 100% rename from roles/mgrote.sanoid/tasks/main.yml rename to roles/mgrote.zfs_sanoid/tasks/main.yml diff --git a/roles/mgrote.sanoid/templates/sanoid-cron.sh b/roles/mgrote.zfs_sanoid/templates/sanoid-cron.sh similarity index 100% rename from roles/mgrote.sanoid/templates/sanoid-cron.sh rename to roles/mgrote.zfs_sanoid/templates/sanoid-cron.sh diff --git a/roles/mgrote.sanoid/templates/sanoid.conf.j2 b/roles/mgrote.zfs_sanoid/templates/sanoid.conf.j2 similarity index 100% rename from roles/mgrote.sanoid/templates/sanoid.conf.j2 rename to roles/mgrote.zfs_sanoid/templates/sanoid.conf.j2 diff --git a/roles/mgrote.zfs_tools/README.md b/roles/mgrote.zfs_tools_cron/README.md similarity index 98% rename from roles/mgrote.zfs_tools/README.md rename to roles/mgrote.zfs_tools_cron/README.md index aa5076aa..f2cbb2d3 100644 --- a/roles/mgrote.zfs_tools/README.md +++ b/roles/mgrote.zfs_tools_cron/README.md @@ -1,4 +1,4 @@ -## mgrote.zfs_tools +## mgrote.zfs_tools_cron ### Beschreibung Aktiviert die Mail Funktion von ZED (ZFS Event Daemon). diff --git a/roles/mgrote.zfs_tools/defaults/main.yml b/roles/mgrote.zfs_tools_cron/defaults/main.yml similarity index 100% rename from roles/mgrote.zfs_tools/defaults/main.yml rename to roles/mgrote.zfs_tools_cron/defaults/main.yml diff --git a/roles/mgrote.zfs_tools/handlers/main.yml b/roles/mgrote.zfs_tools_cron/handlers/main.yml similarity index 100% rename from roles/mgrote.zfs_tools/handlers/main.yml rename to roles/mgrote.zfs_tools_cron/handlers/main.yml diff --git a/roles/mgrote.zfs_tools/meta/main.yml b/roles/mgrote.zfs_tools_cron/meta/main.yml similarity index 100% rename from roles/mgrote.zfs_tools/meta/main.yml rename to roles/mgrote.zfs_tools_cron/meta/main.yml diff --git a/roles/mgrote.zfs_tools/tasks/main.yml b/roles/mgrote.zfs_tools_cron/tasks/main.yml similarity index 100% rename from roles/mgrote.zfs_tools/tasks/main.yml rename to roles/mgrote.zfs_tools_cron/tasks/main.yml diff --git a/roles/mgrote.zfs_tools/templates/sudoers_zfs b/roles/mgrote.zfs_tools_cron/templates/sudoers_zfs similarity index 100% rename from roles/mgrote.zfs_tools/templates/sudoers_zfs rename to roles/mgrote.zfs_tools_cron/templates/sudoers_zfs diff --git a/roles/mgrote.zfs_tools/templates/zed.rc b/roles/mgrote.zfs_tools_cron/templates/zed.rc similarity index 100% rename from roles/mgrote.zfs_tools/templates/zed.rc rename to roles/mgrote.zfs_tools_cron/templates/zed.rc diff --git a/roles/mgrote.zfs_tools/templates/zfs-free.sh b/roles/mgrote.zfs_tools_cron/templates/zfs-free.sh similarity index 100% rename from roles/mgrote.zfs_tools/templates/zfs-free.sh rename to roles/mgrote.zfs_tools_cron/templates/zfs-free.sh diff --git a/roles/mgrote.zfs_tools/templates/zfs-health.sh b/roles/mgrote.zfs_tools_cron/templates/zfs-health.sh similarity index 100% rename from roles/mgrote.zfs_tools/templates/zfs-health.sh rename to roles/mgrote.zfs_tools_cron/templates/zfs-health.sh