This seed project contains some common roles.
- python
- node
- awscli
- supervisor
- git
- nginx
- Change
files/example.pem
with real private key - Change
roles/git/files/config
,roles/git/files/id_rsa
androles/git/files/id_rsa.pub
to usegit
role - Update
roles/appserver/meta/main.yml
as your requirements - Create virtualenv for Python 2
brew install openssl
[https://cryptography.io/en/latest/installation/] [OSX Only]$ env CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1 LDFLAGS="$(brew --prefix openssl)/lib/libssl.a $(brew --prefix openssl)/lib/libcrypto.a" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography
[OSX Only]pip install -r requirements.txt
ansible-galaxy install -r requirements.yaml
[http://docs.ansible.com/ansible/galaxy.html]ansible-playbook playbooks/webservers.yaml -vv