Giter Site home page Giter Site logo

darkcdn / ministra-ansible-roles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from volianytskyi/ministra-ansible-roles

0.0 0.0 0.0 12 KB

Various roles used for Ministra installation, updating, and moving to another server

TSQL 93.41% Shell 6.59%

ministra-ansible-roles's Introduction

ministra-ansible-roles

Various roles used for Ministra installation, updating, and moving to another server

Predefining variables

A couple of vars should be manually defined before running the Ministra installation playbook. For example, exampleproject file can be created inside the host_vars directory

Actually, only the name of the vars file and the timezone are custom values so the file could be generated with a help of a simple hostvars-generator.sh script

Usage:

./hostvars-generator.sh -t Europe/London -h exampleproject

Created host_vars/exampleproject:

---
mysql_root_password:  q8aqhEsSDzFUK1dEIhvfpddKqx9CD38r
apache2_username: admin
apache2_password:  7IGcmkJ4x9FPxQ8G6J9VF1hFbEUoHai1
mysql_password:  3wD0Ydx3ND1j9CKy0yoDniY0fLgOrX8b
timezone: Europe/London
admin_panel_password: cJk0fnoRZXDRrLBQGlkOwiTgZxuT5ULa

Ministra installation playbook

ministra-install.yml

---
- hosts: "{{ host }}"
  vars:
    ministra_portal_version: "{{ version }}"
  roles:
   - ministra-portal

Note to put the Ministra archive inside the ministra-portal/files/ directory as the roles in this repo come with no middleware sources. Example:

ansible-playbook ministra-install.yml -e "host=exampleproject" -e "version=5.5.0"

and ministra-portal/files/v5.5.0.zip file has to be presented

ministra-ansible-roles's People

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.