Giter VIP home page Giter VIP logo

playbooks's Introduction

Community Playbooks

Reusable playbooks users can leverage to build upon. Included is a LAMP playbook demonstrating the various building blocks used. Lamp is tunable from either their respective application config files and or through variables via ansible's host_vars/group_vars and or directly in the application's playbook. Application configs are included by first available starting with ansible_fqdn, host_group, datacentre, down to defaults. Within those levels you also have the option to create and use your very own private configuration paths configured in vars/global.yml.

If you want, you can also nest the lamp playbook to include a more specific setup that your environment requires. You can add/remove tasks to the base playbook to suite your platform requirements. I've taken extra steps to ensure that these are generic enough configurations so all one would have to do is start with a simpler base and simply add/include prebuilt tasks/playbooks to build more complex appliances. I'm currently using this repo as my own building block in production to provision our company datacentres and cloud instances. This model can be used in both push/pull and or just a glorifed ssh loop style management.

The playbooks here were tested and used on CentOS 5/6. Feel free to include logic to support more distrabutions.

Thoughts and contributions are much appreciated so that we can have a rich user community that do not all have the same wheel. ;)

Contact [email protected] for help getting started.

Usage

$ ansible-playbook playbooks/lamp.yml

or

$ ansible-playbook playbooks/lamp.yml --tags "mysql"

or

$ ansible-playbook playbooks/lamp.yml --tags "mysql.cfg"

Some default sub-tags used in my playbooks for fine grain push management include:

- pkgs
- cfg
- init

This comes in handy if you just want to sync configuration files without any additional processes that come from a playbook.

Workflow for contributors

* fork repo
* clone from your fork
* create feature branch in your clone
* develop in feature branch
* push feature branch up to your origin
* send pull request from feature branch to upstream develop branch
* await merge from upstream or fix pull request based on feedback

playbooks's People

Contributors

bluenerv avatar

Watchers

 avatar  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.