Git Product home page Git Product logo

ansible-project-bootstrap's Introduction

Use this repository as a bootstrap for your organization custom Ansible project.

In case you're new to Ansible, I added some demo playbooks to understand how you should do things. You should configure your inventory and then run the playbooks like this:

ansible-playbook -i inventory/production/demo provision_demo.yml

You can watch a demo here.

The content of this project was created following the Ansible best practices:

https://docs.ansible.com/playbooks_best_practices.html#content-organization

Recommended usage

  1. Clone this project to a private repository and use it to version your organization infraestructure. You can name the repository something like infra or provisioning.

  2. For each application, create a playbook and an inventory (use the demo files as examples).

  3. Use the existent roles or create new ones, remove tasks that you don't need and add tasks you need, know what the roles are doing and keep things simple.

Included roles

  • deploy (creates a deploy specific user and copies ssh keys)
  • dev (installs common packages like autoconf and build essentials)
  • git
  • grafana
  • imagemagick
  • influxdb
  • jenkins
  • jre
  • mysql-client
  • mysql-server
  • nginx
  • nodejs
  • phantomjs
  • postgresql-client
  • postgresql-server
  • puma
  • rails
  • rails-deploy
  • redis
  • ruby
  • sidekiq
  • unicorn

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.