Skip to content

Ansible role to install OpenZFS on Debian

License

Notifications You must be signed in to change notification settings

diademiemi/ansible_role_openzfs

Repository files navigation

Ansible Role OpenZFS

Molecule Test

This is an Ansible role to install and configure openzfs.

For Debian-based distros, a working DKMS is assumed.

Requirements

These platforms are supported:

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Debian 10
  • Debian 11
  • Debian 12
  • EL 8 (Tested on Rocky Linux 8)
  • EL 9 (Tested on Rocky Linux 9)
  • Fedora 38
  • openSUSE Leap 15.5

Role Variables

Variable Default Description
openzfs_enable_load_keys_service false Enable the zfs-load-key.service service

Dependencies

None

Example Playbook

- name: Use diademiemi.openzfs role
  hosts: "{{ target | default('openzfs') }}"
  roles:
    - role: "diademiemi.openzfs"
      tags: ['diademiemi', 'openzfs', 'setup']    ```

License

MIT

Author Information

  • diademiemi (@diademiemi)

Role Testing

This repository comes with Molecule that run in Podman on the supported platforms. Install Molecule by running

pip3 install -r requirements.txt

Run the tests with

molecule test

These tests are automatically ran by GitHub Actions on push. If the tests are successful, the role is automatically published to Ansible Galaxy.

About

Ansible role to install OpenZFS on Debian

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published