GithubHelp home page GithubHelp logo

ansible-st2's Introduction

Ansible-st2

Ansible playbooks to deploy StackStorm.

StackStorm is event-driven automation platform written in Python. With over 50+ integrations like GitHub, Docker, Nagios, NewRelic, AWS, Ansible it allows you to wire together your existing infrastructure into complex Workflows with auto-remediation and many more. Aka IFTTT orchestration for Ops.

Circle CI Build Status Repository deb/rpm

Supported platforms

  • Ubuntu 14.04

Requirements

At least 2GB of memory and 3.5GB of disk space is required, since StackStorm is shipped with RabbitMQ, PostgreSQL, Mongo, OpenStack Mistral and dozens of Python dependencies.

Installation

ansible-galaxy install -r roles/mistral/requirements.yml

ansible-playbook playbooks/st2express.yaml

Dependencies

Ansible Galaxy roles used by StackStorm installation:

Variables

Below is the list of variables you can redefine in your playbook to customize st2 deployment:

Variable Default Description
st2_version stable StackStorm version to install. Use latest stable to get automatic updates or pin it to numeric version like 1.4.0.
st2_revision 1 StackStorm revision to install. Used only with pinned st2_version.
st2_system_user stanley System user on whose behalf st2 would work, including remote/local action runners.
st2_system_user_in_sudoers yes Add st2_system_user to the sudoers (recommended for most st2 features to work).
st2_auth_username testu Username used by StackStorm standalone authentication.
st2_auth_password testp Password used by StackStorm standalone authentication.
mistral_db mistral PostgreSQL DB name for Mistral.
mistral_db_username mistral PostgreSQL DB user for Mistral.
mistral_db_password StackStorm PostgreSQL DB password for Mistral.

Examples

Install latest stable StackStorm with all its components on local machine:

ansible-playbook playbooks/st2express.yaml -i 'localhost,' --connection=local

Note that keeping stable version is useful to update StackStorm by re-running playbook, since it will reinstall st2 if there is new version available. This is default behavior. If you don't want updates - consider pinning version-revision numbers.

Install specific numeric version of st2 with pinned revision number as well:

ansible-playbook playbooks/st2express.yaml --extra-vars='st2_version=1.4.0 st2_revision=8'

Other Installers

You might be interested in other OS flavors to explore StackStorm engine:

Help

If you're in stuck, our community always ready to help, feel free to:

Your contribution is more than welcome!

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.