Created
December 5, 2014 13:18
-
-
Save mrchrisadams/e0d5f88a08e2d72f673e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
env: production | |
vagrant: false | |
staging: false | |
debug: False | |
git_branch:master | |
deploy_user_name: deploy | |
deploy_user_ssh_priv_key_path: "files/deploy.key.pem" | |
application_name: | |
contact_us_emails: (sensitive) | |
email_host_user: (sensitive) | |
email_host_password: (sensitive) | |
admins: | |
chris: | |
name: (sensitive) | |
email: (sensitive) | |
secret_key: (sensitive) | |
database: | |
host: (sensitive) | |
user: (sensitive) | |
password: (sensitive) | |
app_path: /var/www/app_name/current/app_name | |
app_user: deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# example production inventory | |
data ansible_ssh_host=database-server.com ansible_ssh_user=my_user | |
dev ansible_ssh_host=app-server.com ansible_ssh_user=my_user | |
[local] | |
localhost ansible_python_interpreter=/usr/local/bin/python | |
[production] | |
dev | |
data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provisioning | |
├── deploy.yml | |
├── add_backups.yml | |
├── fetch_pg_deets.yml | |
├── fetch_static.yml | |
├── provision.yml | |
├── files | |
│ ├── # files exclusive to this project go here, like deploy keys, ssl certs etc. | |
├── group_vars | |
│ ├── all # shared vars go here | |
│ ├── production # vars specific to an environment go here | |
│ ├── staging | |
│ └── vagrant | |
├── inventories | |
│ ├── production # groups are defined here | |
│ ├── staging | |
│ └── vagrant | |
├── roles | |
│ ├── app.backup | |
│ ├── app.essentials | |
│ ├── app.server | |
│ └── app.vagrant | |
└── templates # | |
19 directories, 47 files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment