Skip to content

Latest commit

 

History

History
84 lines (49 loc) · 2.02 KB

README.md

File metadata and controls

84 lines (49 loc) · 2.02 KB

freebsd_zfs

qualityBuild Status

Ansible role. FreeBSD. Configure ZFS.

Feel free to share your feedback and report issues.

Contributions are welcome.

Requirements

Roles

This role is needed to run tasks from sysctl.yml and loader.yml

Collections

  • community.general

Variables

Review defaults and examples in vars.

Workflow

  1. Change shell to /bin/sh
shell> ansible host -e 'ansible_shell_type=csh ansible_shell_executable=/bin/csh' -a 'sudo pw usermod user -s /bin/sh'
  1. Install the role and dependencies
shell> ansible-galaxy role install vbotka.freebsd_zfs
shell> ansible-galaxy role install vbotka.freebsd_postinstall
shell> ansible-galaxy collection install community.general
  1. Fit variables, e.g. in vars/main.yml
shell> editor vbotka.freebsd_zfs/vars/main.yml
  1. Create playbook
shell> cat freebsd-zfs.yml
- hosts: host
  roles:
    - vbotka.freebsd_zfs
  1. Configure the system
shell> ansible-playbook freebsd-zfs.yml

References

License

license

Author Information

Vladimir Botka