GithubHelp home page GithubHelp logo

lesnik / ansible-role-kimai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from makarenalabs/ansible-role-kimai

0.0 0.0 0.0 36 KB

Ansible Role Kimai - Role for Ansible in Ansible Galaxy to install kimai with Nginx or Apache2 as webserver and MariaDB or MySQL as database service

License: MIT License

ansible-role-kimai's Introduction

Ansible Role: Kimai

Build Status License Ansible Version Ansible Role Ansible Quality Ansible Downloads

Ansible role that installs and configures Kimai with Nginx or Apache2 as webserver and MariaDB or MySQL as database service.

Features include:

  • Installation of Kimai to specified domain
  • Configuration of Nginx or Apache configuration file

Installation

Using ansible-galaxy:

$ ansible-galaxy install makarenalabs.kimai

Using arm (Ansible Role Manager):

$ arm install makarenalabs.kimai

Using git:

$ git clone https://github.com/MakarenaLabs/ansible-role-kimai.git

Requirements & Dependencies

  • Ansible 1.4 or higher

Variables

Here is a list of all the default variables for this role, which are also available in defaults/main.yml.

k_dbserver: mariadb
ondrej_php: 'no'
php_version: 7.0
k_webserver: nginx
k_serveradmin: [email protected]
k_domainname: example.com
k_mysql_root_user: root
k_mysql_root_password: hackme
k_mysql_user: kimai
k_mysql_password: hackme
  • k_domainname
  • k_mysql_user
  • k_mysql_password
  • k_mysql_root_user
  • k_mysql_root_password

These variables are required!

Default webserver selected is nginx. If you want to use apache2 you have to set k_webserver variable as follow:

k_webserver: apache

Default database manager is mariadb, but you can choose mysql setting k_dbserver as follow

k_dbserver: mysql

If you want to use a specific version of php that is present in Ondrej PHP ppa source, you just change value of variable ondrej_php and specify your PHP version

ondrej_php: 'yes'
php_version: X.X

By default, PHP version used in this role is 7.0.

Example playbook

---
- hosts: all
  vars:
    - k_domainname: example.com
    - k_mysql_user: kimai
    - k_mysql_password: hackme
    - k_mysql_root_user: root
    - k_mysql_root_password: hackme
  roles:
    - makarenalabs.kimai

Testing

$ git clone https://github.com/MakarenaLabs/ansible-role-kimai.git
$ cd ansible-role-kimai
$ vagrant up

License

Licensed under the MIT License. See the LICENSE file for details.

Copyright © 2019 MakarenaLabs

ansible-role-kimai's People

Contributors

matteocastagnaro 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.