Coder Social home page Coder Social logo

dci-infra's Introduction

DCI Infra

Playbook and roles to deployed the DCI infrastructure.

Usage

ansible-galaxy install -r installed_roles.yml -p roles
ansible-playbook -vv playbook.yml -i <path>/hosts --tags dci-core

The dci-core tag will only execute a subset of the roles in order to deploy the minimal service required.

Roles

  • common: Package update, repository setup and DCI stuff.
  • dci-api: Install the DCI API (dci-control-server).
  • dci-repo: Install SSL content for nginx.
  • dci-ui: Install DCI WebAPP (dci-ui).
  • dci-worker: Install the DCI zmq worker.
  • doc: Install the DCI documentation (dci-doc).
  • fail2ban: Install fail2ban and rules.
  • httpd: Install and configure httpd.
  • packages: Configure the DCI yum repository.
  • postgresql: Install and configure postgresql.
  • registry: Install and configure the container registry.
  • swift: Install an AIO swift.
  • elasticsearch: Install and configure the container elasticsearch.
  • dci-analytics: Install and configure the container dci-analytics.

dci-infra's People

Contributors

spredzy avatar fcharlier avatar dsavineau avatar prophidys avatar rh-gvincent avatar ylamgarchal avatar goneri avatar hguemar avatar sf-project-io avatar p3ck avatar fdaencarrh avatar leifmadsen avatar nhicher avatar

Stargazers

 avatar  avatar  avatar

Watchers

Tristan de Cacqueray avatar  avatar James Cloos avatar Guillaume Vincent avatar  avatar Frederic Lepied avatar Matthieu Huin avatar  avatar  avatar  avatar

dci-infra's Issues

api: psql check fails

The psql command made to check if the db is already present doesn't load the posgresql 9.4 environment file and fails :

TASK [dci-api : Check if db is already in place] *******************************
fatal: [dci-api]: FAILED! => {"changed": true, "cmd": "psql -U dci -h 10.0.0.7 -d dci -w -c 'SELECT * FROM users'", "delta": "0:00:00.003722", "end": "2017-07-14 20:54:30.461647", "failed": true, "rc": 127, "start": "2017-07-14 20:54:30.457925", "stderr": "/bin/sh: psql: command not found", "stdout": "", "stdout_lines": [], "warnings": []}
t

We need to source the /opt/rh/rh-postgresql94/enable file before the command

https://github.com/redhat-cip/dci-infra/blob/master/roles/dci-api/tasks/main.yml#L168

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.