Giter VIP home page Giter VIP logo

ansible-teamcity-server's Introduction

TeamCity Server

Build Status

This role will install and configure TemCity Server - CI tool from JetBrains. I created this role because I needed to have a fully automated TeamCity setup.

This role will:

  1. Install TeamCity
  2. Setup database connection (local/mysql)
  3. Setup TeamCity default admin user - teamcity
  4. Accept license

As a result, this role will setup fully working TeamCity Server. Feel free to use it along with my TeamCity Agent role - matisku.teamcity-agent.

Requirements

  1. ansiblebit.oracle-java - Java is required on TeamCity Server

Role Variables

Variable name Default value Description
teamcity_server_version 10.0.5 TeamCity version to install
teamcity_server_sha256 b9a58aedea64ddb399344316ee720d32f4b85dbeae17c1395561e7a87b185a0e sha256 for TeamCity package
teamcity_server_su_user teamcity Admin user name for TeamCity
teamcity_server_su_password teamcity Admin user password for TeamCity
teamcity_server_install_dir /opt TeamCity unpack dir
teamcity_server_dir {{ teamcity_server_install_dir }}/TeamCity TeamCity install dir
teamcity_server_data_dir {{ teamcity_server_dir }}/BuildServer TeamCity data/conf/plugins dir
teamcity_server_plugins_dir {{ teamcity_server_data_dir }}/plugins TeamCity plugins dir
teamcity_server_license_keys [] List of TeamCity Licenses
teamcity_server_mysql_connector_version 5.1.40 MySQL connector version
teamcity_server_mysql_connector_dir /opt/mysql-connector MySQL connector install dir
teamcity_server_mysql_db_user teamcity TeamCity MySQL user name
teamcity_server_mysql_db_password teamcity TeamCity MySQL user password
teamcity_server_mysql_db_name teamcity TeamCity MySQL database
teamcity_server_db_type local Database version: local or mysql
teamcity_server_mysql_database_url localhost MySQL database URL
teamcity_server_mysql_database_port 3306 MySQL database port
teamcity_server_mysql_jdbc_dir {{ teamcity_server_data_dir }}/lib/jdbc MySQL JDBC driver location

Dependencies

This role depends on java role.

Example Playbook

Example playbook:

- hosts: teamcity-servers
  become: yes 
  roles:
    - matisku.teamcity-server

Author Information

This role was created by Mateusz Trojak for Brainly. We are using this role for company CI automation with easy failover mechanism.

License

Copyright © 2017 Mateusz Trojak. See LICENSE for details.

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.