Giter Site home page Giter Site logo

ansible-mpds's Introduction

ElastiCluster Ansible playbooks

This repository contains the modules and playbooks used by the ElastiCluster to configure the VMs. They can however be used independently of ElastiCluster.

The structure of the repository follow this schema:

|   # Group variables
+-- group_vars
|   +-- all  # variables set on all hosts where playbooks run;
|            # currently mainly used to provide conditionals
|            # about OS version and features
|
|   # Collection of playbooks divided by *role*
+-- roles
|  - role-foo.yml  # playbook for role `role-foo`
|  - role-foo      # directory containing stuff used by `role-foo`
|    - files       # files to be copied on the managed machine.
|    - handles     # handlers used by the role
|    - tasks       # collection of tasks executed by the playbook
|    - templates   # templates used by the playbook
|
+-- main.yml
|   # This is the main playbook. It includes all the playbooks created
|   # in `roles` directory. Each role is supposed to be applied only
|   # to specific group of nodes. For instance, the `ganglia` role
|   # will configure only hosts in the  `ganglia_monitor` or
|   # `ganglia_master` groups.
|
+-- after.yml
|   # Playbook executed by `main.yml` after all the other tasks have
|   # successfully run.  Can be used to add local customizations.
|
+-- modules
|   # This directory contains extra Ansible modules
|
+-- examples
|   # directory containing examples and code snippets.
|
+-- README.rst

The playbooks distributed in the roles/ directory are documented in section "Playbooks distributed with ElastiCluster" of the ElastiCluster manual. Some of the roles are also accompanied by a small "README" file that states purpose and customization variables.

Extra modules are defined in the modules directory. In order to use them you need to either run ansible-playbook with option -M modules, or edit your ansible configuration file and update the library option, or set the environment variable ANSIBLE_LIBRARY. The latter is what ElastiCluster main code does.

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.