Giter Site home page Giter Site logo

zeus911 / ansible-role-steamengine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from steamulo/steamulo.steamengine

0.0 0.0 0.0 142 KB

This role provides production grade installation and deployment workflow for nodejs, tomcat7, play, springboot and static files.

License: BSD 2-Clause "Simplified" License

Python 26.90% Shell 73.10%

ansible-role-steamengine's Introduction

Build Status

Steamengine

This role provides production grade installation and deployment workflow for nodejs, tomcat7, play, springboot and static files.

Role Variables

Here are the main variables that should be set :

# Project name. This is also the base path of the project installation and the system user used to manage the project.
# Default is default_project.
steamengine_project_name: "default_project"

# Project type, should be a value in "static", "springboot", "nodejs", "tomcat7", "play".
# No default value but mandatory
steamengine_project_type:

# Url of the build that will be deployed.
# No default value and not mandatory. Nothing will be deployed if missing.
steamengine_build_url:

# Checksum of the build. Should be in the following format : "<algorithm>:<checksum>"
# No default value, mandatory if steamengine_build_url is set.
steamengine_build_checksum:

# Project configuration.
# No default value and not mandatory.
steamengine_project_configuration:

# Name of the project default configuration file.
# File content is merged with steamengine_project_configuration variable.
# Variables defined in steamengine_project_configuration override those defined in the base file.
# Used only for tomcat7 and springboot project type
# No default value and not mandatory.
steamengine_project_configuration_base_name:

# Public ssh keys that will be added to the project user.
# Default is empty.
steamengine_project_ssh_keys: []

Example Playbook

Examples for different project types can be found under the molecule folder:

Development

This role use the molecule framework in order to simplify the development process.

Requirements:

Setup your local environnement with python virtualenv prior to using molecule :

virtualenv ~/.virtualenv/steamengine && source ~/.virtualenv/steamengine/bin/activate && pip install -r requirements.txt

Use molecule converge -s <project_type> to create a local environnement and molecule login -s <project_type> to log into the test machine.

Before any commit ensure that every test are passing with molecule test --all

Known issues

License

BSD

Author Information

Steamulo - http://www.steamulo.com

ansible-role-steamengine's People

Contributors

bassonjulien avatar elieliabeuf avatar arcriiad 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.