Skip to content

mickaeldecastro/ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible playbooks used @PlatiniumGroup

Install ansible

OS X

With homebrew:

$ brew install ansible

With vanilla python:

$ sudo easy_install pip
$ sudo pip install -U ansible

Ubuntu

$ sudo apt-get install python python-pip
$ sudo pip install -U ansible

Playbooks

CI

The following roles are enabled for CI server(s):

Setup

Before running the playbook, you must create an user named ovh on the server and allow it to use sudo.

Running the playbook

$ ansible-playbook -i hosts -k -K ci.yml

Roles

security

Disable ssh root login.

git

Installs git.

mysql

Installs MySQL client and server, with root passord set to "root".

php

Installs memcached, composer and PHP with required configuration file for GooTickets as well as the following PHP extensions:

  • php-curl
  • php-mbstring
  • php-memcached
  • php-mysql
  • php-xml
  • php-zip

node

Installs NodeJS and NPM with the following node packages installed globally:

  • bower
  • grunt-cli

nginx

Installs nginx and Let's Encrypt, and setup a cron job for automated SSL certificates renewal.

jenkins

Installs Jenkins, generate a SSL certificate for jenkins.gootickets.com and intall the following Jenkins plugins:

Jenkins configuration regarding security must be done afterward through the Jenkins web interface.

sonarqube

Installs SonarQube

PHP plugin must be installed manually

goorelease

Installs GooRelease and creates a prestashop database. Once installation is done, a backup must be imported in the prestashop database.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages