Coder Social home page Coder Social logo

ansible-middleware-playbooks's Introduction

ansible-middleware-playbooks Build Status

Purpose

This repository provides a set of generic roles and reusable playbooks for deploying JBoss Middleware and associated CI / CD tooling.

Getting Started

  1. Update group_vars/all/all.yml to reflect your environment
  2. Update inventory.yml to reflect your environment
  3. Run ansible-galaxy install -r requirements.yml -p ./roles to download required roles from galaxy.

Roles Used By These Playbooks

  1. JBoss Common
  2. JBoss EAP
  3. JBoss BxMS
  4. JBoss Fuse
  5. JBoss AMQ
  6. JBoss Datagrid

Ansible Install and Version

We are currently working against ansible 2.5 pip is the preferred installed method for now: pip install ansible==2.5

Transfer Methods

These playbooks and their required roles support a few different mechanisms for transferring the product zip files to the target host. You can set the variable transfer_method to select the method, which can be set at multiple levels. The default is set in group vars.

csp-to-host

This method uses the custom redhat_csp_download module to download the product binaries from the Red Hat Customer Portal. This requires network access from the target host to the Red Hat Customer Portal, but has the advantage of being fully automated. Each of the roles have sensible defaults already set.

The following variables are required:

  • rhn_username
  • rhn_password

copy-from-controller

This method requires you to download the product binaries from the Red Hat Customer Portal and then add them to the files directory. This has the benefit of supporting installs when the target host does have public internet connectivity, but requires a manual step before the playbook can be run. Each of the roles have sensible defaults already set, and the .gitignore will ignore .zip files.

The easiest way to provide the files to your role is to symlink them to the role_name/files directory. If you files are not named the same as the files on the customer portal, you can override the file name using the *_artifact_name variables.

CI and Testing

All of the roles are using some variation of Chris Meyer's incredible Travis CI, Docker and Ansible role testing method.

Red Hat Subscriptions

These playbooks require binaries from the Red Hat Customer Portal, so you'll need a valid subscription. Developers can get a $0 subscription through the Red Hat Developer Program.

Best Practices

We're trying to follow the OpenShift Ansible Best Practices

Relevant Links

Ansible roles

ansible-middleware-playbooks's People

Contributors

sherl0cks avatar sabre1041 avatar kameshsampath avatar chrismeyersfsu avatar bparry02 avatar garethahealy avatar hcherukuri avatar kenthua avatar

Stargazers

Vikas Sharma 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.