GithubHelp home page GithubHelp logo

midaxo / ansible-role-sonar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from geerlingguy/ansible-role-sonar

0.0 1.0 0.0 44 KB

Ansible Role - SonarQube

Home Page: https://galaxy.ansible.com/geerlingguy/sonar/

License: MIT License

ansible-role-sonar's Introduction

Ansible Role: SonarQube

Build Status

An Ansible Role that installs SonarQube on RedHat/CentOS and Debian/Ubuntu Linux servers.

Requirements

Requires the unzip utility to be installed on the server. Also, different SonarQube versions require different minimum versions of Java:

  • SonarQube 5.0-5.5 requires Java 1.7+
  • SonarQube 5.6+ requires Java 1.8+

Finally, recent versions of SonarQube also require MySQL 5.6 or later.

Role Variables

Available variables are listed below, along with default values:

workspace: /root

Directory where downloaded files will be temporarily stored.

sonar_download_validate_certs: yes

Controls whether to validate certificates when downloading SonarQube.

sonar_download_url: http://dist.sonar.codehaus.org/sonarqube-4.5.4.zip
sonar_version_directory: sonarqube-4.5.4

The URL from which SonarQube will be downloaded, and the resulting directory name (should match the download archive, without the archive extension).

sonar_web_context: ''

The value of sonar.web.context. Setting this to something like /sonar allows you to set the context where Sonar can be accessed (e.g. hostname/sonar instead of hostname).

sonar_mysql_username: sonar
sonar_mysql_password: sonar

sonar_mysql_host: localhost
sonar_mysql_port: "3306"
sonar_mysql_database: sonar

sonar_mysql_allowed_hosts:
  - 127.0.0.1
  - ::1
  - localhost

JDBC settings for a connection to a MySQL database. Defaults presume the database resides on localhost and is only accessible on the SonarQube server itself.

Dependencies

  • geerlingguy.java
  • geerlingguy.mysql

Example Playbook

- hosts: all
  roles:
    - geerlingguy.sonar

Using the defaults, you can view the SonarQube home at http://localhost:9000/ (default System administrator credentials are admin/admin).

License

MIT / BSD

Author Information

This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.

ansible-role-sonar's People

Contributors

geerlingguy avatar pppontusw avatar

Watchers

 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.