Skip to content

vbotka/ansible-freebsd-zfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freebsd_zfs

quality Build Status GitHub tag

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

See defaults and examples in vars.

Workflow

  1. Change the shell on the remote host to /bin/sh if necessary
shell> ansible host -e ansible_shell_type=csh -e ansible_shell_executable=/bin/csh -a 'sudo pw usermod user -s /bin/sh'
  1. Install the roles and collections
shell> ansible-galaxy role install vbotka.freebsd_zfs
shell> ansible-galaxy role install vbotka.freebsd_postinstall

If necessary install the collection

shell> ansible-galaxy collection install community.general
  1. Fit variables to your needs.

  2. Create the playbook

shell> cat freebsd-zfs.yml
- hosts: host
  roles:
    - vbotka.freebsd_zfs
  1. Configure the system
shell> ansible-playbook freebsd-zfs.yml

Ansible lint

Use the configuration file .ansible-lint.local when running ansible-lint. Some rules might be disabled and some warnings might be ignored. See the notes in the configuration file.

shell> ansible-lint -c .ansible-lint.local

References

License

license

Author Information

Vladimir Botka

About

Ansible role. FreeBSD. Configure ZFS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published