Instantly share code, notes, and snippets.

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

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

This comment has been minimized.

Copy link

tsabat 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