Skip to content

Instantly share code, notes, and snippets.

@tsabat tsabat/gist:5891043
Last active Dec 19, 2015

Embed
What would you like to do?
capistrano multistage script.
set :branch, "master"
# tagged:
# Role:app && Environment:'production'
# filtered:
# instance-state-name:running
aws_servers = AwsUtil.new.deployed_app_server_dns_names
role(:app) { aws_servers }
role (:web) { aws_servers }
role :db, aws_servers[0], primary: true
@tsabat

This comment has been minimized.

Copy link
Owner Author

commented Jun 29, 2013

A capistrano multistage script that dynamically pulls dns names by tag, using utils.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.