Skip to content

lr-agenceweb/ansible-recipes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Recipes

This project contains a list of ansible recipes to install on every web server (only tested with Ubuntu 14.04 Trusty)

Requirements

Install VirtualBox
Install Vagrant
Install Ansible

Usage

Clone it: git clone [email protected]:lr-agenceweb/ansible-recipes.git
Go to the ansible folder: cd ansible-recipes
Duplicate vars/main.example.yml into vars/main.yml
Edit the configuration variables as you wish
Load dependencies (sudo) ansible-galaxy install -r requirements.yml
Run ansible-playbook playbook.yml
That's it !

PHPMyAdmin vs Adminer

Both are included in recipes but by default, only Adminer is activated.
If you want to switch back to PHPMyAdmin instead, change the database_management to phpmyadmin

Tools

Technology Description
avconv Audio and video converter
htop Monitorize VPS processes
unzip Usnzip files
pydf Show informations about VPS disk space
wkhtmltopdf Convert HTML code to PDF file
Git Git Use git tools
ZSH / oh-my-zsh ZSH / oh-my-zsh Shell replacement
Nginx Nginx Installation of web server (Rails friendly)
RVM / Ruby RVM / Ruby Installation of Ruby version through RVM
PHP FPM PHP FPM PHP compiled for Nginx
Composer Composer Dependency Management for PHP
MariaDB MariaDB Database management system
Redis Redis Database and cache management
PhpMyAdmin PhpMyAdmin Handle the administration of MySQL databases
Adminer Adminer Handle the administration of MySQL, PostgreSQL, SQLite, ... databases
NodeJS NodeJS Include npm to manage node modules
Postfix Postfix Email server to send emails
ImageMagick ImageMagick Image converter
Memcached Memcached Cache manager
Htpasswd Htpasswd Apache htpassword for Nginx
UFW UFW Firewall
Fail2Ban Fail2Ban Ban user by behavior
ProFTPD Add some rules to securize FTP transfer
Backup Manager Backup Manager Backup folders and export it to FTP
Timezone Timezone Configure correct timezone to VPS
Environment Environment Set correct locales for VPS

TODO

  • Let's Encrypt
  • Backup gem (database export)

About

Set of recipes for web servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages