Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/AlbanAndrieu/ansible-zfs

Install zfs using ansible script
https://github.com/AlbanAndrieu/ansible-zfs

Last synced: 5 days ago
JSON representation

Install zfs using ansible script

Awesome Lists containing this project

README

        

## [![Nabla](https://debops.org/images/debops-small.png)](https://github.com/AlbanAndrieu) roles/alban_andrieu_zfs

This file was generated by Ansigenome. Do not edit this file directly but instead have a look at the files in the ./meta/ directory.

[![License](http://img.shields.io/:license-apache-blue.svg?style=flat-square)](http://www.apache.org/licenses/LICENSE-2.0.html)
[![Travis CI](https://img.shields.io/travis/AlbanAndrieu/ansible-zfs.svg?style=flat)](https://travis-ci.org/AlbanAndrieu/ansible-zfs)
[![Branch](http://img.shields.io/github/tag/AlbanAndrieu/ansible-zfs.svg?style=flat-square)](https://github.com/AlbanAndrieu/ansible-zfs/tree/master)
[![Donate](https://img.shields.io/gratipay/AlbanAndrieu.svg?style=flat)](https://www.gratipay.com/~AlbanAndrieu)
[![Ansible Galaxy](https://img.shields.io/badge/galaxy-alban.andrieu.zfs-660198.svg?style=flat)](https://galaxy.ansible.com/alban.andrieu/zfs)
[![Platforms](http://img.shields.io/badge/platforms-ubuntu-lightgrey.svg?style=flat)](#)

This ``Simple`` role allows you to install [ZFS](http://fr.wikipedia.org/wiki/ZFS) file system
which can be used to easily snapshot/rollback huge amount of data on your workstation.

### Installation

This role requires at least Ansible `v2.3.0.0`. To install it, run:

Using `ansible-galaxy`:
```shell
$ ansible-galaxy install alban.andrieu.zfs
```

Using `arm` ([Ansible Role Manager](https://github.com/mirskytech/ansible-role-manager/)):
```shell
$ arm install alban.andrieu.zfs
```

Using `git`:
```shell
$ git clone https://github.com/AlbanAndrieu/ansible-zfs.git
```

### Documentation

More information about `alban.andrieu.zfs` can be found in the
TODO [official alban.andrieu.zfs documentation](https://docs.debops.org/en/latest/ansible/roles/ansible-zfs/docs/).

### Role variables

List of default variables available in the inventory:

```YAML
zfs_enabled: yes # Enable module
zfs_pool: rpool
zfs_docker_pool: zpool-docker
zfs_docker_directory: /var/lib/docker
# Important if running Ubuntu 12.04-13.10 and ssh on a non-standard port
ssh_port: 22
reboot_enabled: no

jenkins_home: /var/lib/jenkins # Jenkins home location
jenkins_user: jenkins
jenkins_group: jenkins
```

### Detailed usage guide

Describe how to use in more detail...

### Testing
```shell
$ ansible-galaxy install alban.andrieu.zfs
$ vagrant up
```

### Contributing

The [issue tracker](https://github.com/AlbanAndrieu/ansible-zfs/issues) is the preferred channel for bug reports, features requests and submitting pull requests.

For pull requests, editor preferences are available in the [editor config](.editorconfig) for easy use in common text editors. Read more and download plugins at .

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

### Authors and license

`roles/alban_andrieu_zfs` role was written by:

- [Alban Andrieu](fr.linkedin.com/in/nabla/) | [e-mail](mailto:[email protected]) | [Twitter](https://twitter.com/AlbanAndrieu) | [GitHub](https://github.com/AlbanAndrieu)

License
-------

- License: [GPLv3](https://tldrlegal.com/license/gnu-general-public-license-v3-%28gpl-3%29)

### Feedback, bug-reports, requests, ...

Are [welcome](https://github.com/AlbanAndrieu/ansible-zfs/issues)!

***

This role is part of the [Nabla](https://github.com/AlbanAndrieu) project.
README generated by [Ansigenome](https://github.com/nickjj/ansigenome/).

***

Alban Andrieu

[linkedin](fr.linkedin.com/in/nabla/)