Giter VIP home page Giter VIP logo

ansible-zfs's Introduction

Ansible Playbook to Deploy ZFS Storage

This repository contains Ansible Playbook to Deploy ZFS storage with various exporter for your Z Volumes like NFS and ISCSI.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Prequisites package:

  • Python 3 (Python Programming Language)
  • Python PIP (Python Package Installer & Manager)
  • Ansible 2.6 (Simple IT Automation Tool)

Deployment

Standard deployment:

  • Install Python 3
  • Install Python PIP
wget -q -O - https://bootstrap.pypa.io/get-pip.py | python3 -
pip3 install --no-cache-dir --upgrade pip setuptools wheel
  • Install Ansible 2.6
pip3 install --no-cache-dir ansible==2.6.20
  • Check Ansible and Ansible Playbook version
ansible --version
ansible-playbook --version
  • Clone this repository to your current directory, make sure it's empty
git clone -b master https://github.com/dimaskiddo/ansible-zfs.git .

Installing

  • Modify inventory file
nano inventory/zfs
  • Run playbook to configure ZFS storage
ansible-playbook -i inventory/zfs config.yml

Uninstalling

  • Run playbook to uninstall ZFS storage
ansible-playbook -i inventory/zfs uninstall.yml

Optional uninstall parameters:

  • -e uninstall_nfs=true, will also uninstall NFS server packages
  • -e uninstall_iscsi-lio=true, will also uninstall ISCSI LIO packages

Built With

  • Python - Python Programming Language
  • Python PIP - Python Package Installer & Manager
  • Ansible - Simple IT Automation Tool

Authors

  • Dimas Restu Hidayanto - Initial Work - DimasKiddo

See also the list of contributors who participated in this project

ansible-zfs's People

Contributors

dimaskiddo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.