Skip to content

Instantly share code, notes, and snippets.

View ihassin's full-sized avatar
🏠
Working from home

Itamar Hassin ihassin

🏠
Working from home
View GitHub Profile
@ihassin
ihassin / vars.yml
Last active December 31, 2015 09:39
Vars.yml used in the blog post
---
app_name: <APP_NAME>
# created with:
# python -c 'import crypt; print crypt.crypt("<PASS>", "SomeSaltedValue")'
password: SosJkZOQixRak
mysql_root_password: <PASS>
home_dir: "/home/deploy"
repo: <PATH_TO_REPO>
project_ruby: 2.0.0-p353
- hosts: webservers
user: vagrant
vars_files:
- vars.yml
tasks:
- name: Download ruby
get_url: "url={{ruby_url}} dest={{ruby_dir}}/ruby-{{ project_ruby }}.tar"
- name: Extract ruby
@ihassin
ihassin / .my.cnf
Created March 6, 2014 21:13
Relevant section of the mySQL .my.cnf file
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
user=root
password={{mysql_root_password}}