Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mysite:
- dir: /var/www/mysite
- deployer: root
- database:
- host: something.us-east-1.rds.amazonaws.com
- {% if grains['env'] == 'live' -%}
- name: mysitedb
- username: malinoff
- password: MyCoOlPrOdPaSsWoRd
- {% elif grains['env'] == 'stg' -%}
- name: mysitedb-stg
- username: malinoff-stg
- password: MyCoOlStGpAsSwOrD
- {% endif -%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement