Comments (3)
What command are you using to run your test task exactly? It looks like you're triggering the task as cap ec2:test_boot
, but I think you need to trigger it as cap boot ec2:test_boot
instead.
The reason for this is that although you have defined the :boot
role, you haven't told Capistrano to include it by default.
You can do that by defining the role like so:
ec2_roles :name => :boot, :options => { :default => true }
Good luck!
from capify-ec2.
Thanks a lot! That worked perfectly. I misunderstood the default setting.
from capify-ec2.
You're welcome :)
from capify-ec2.
Related Issues (20)
- Weired bug HOT 1
- Get the current instance name in deploy.rb? HOT 2
- Failure on execution of custom tasks with "Options" dependencies HOT 7
- Rolling deploy removes instances from ELB on a dry-run HOT 1
- Unable to use server name as task HOT 1
- Feature request: Enable Roles and Options separator config (instead of comma) HOT 1
- Fog dependency HOT 4
- License missing from gemspec HOT 1
- Creating AMI HOT 2
- cap servername deploy isnt working when servername has multiple roles HOT 6
- undefined method `to_sym' for nil:NilClass HOT 2
- Cannot figure out syntax for registering and deregistering instances HOT 3
- Doesn't work for Capistrano v3 HOT 1
- List of servers HOT 12
- Issue when having multiple roles and variables in each HOT 1
- "but no servers matched" for :db task HOT 9
- Error on deploy HOT 5
- Different path for ec2.yml HOT 5
- Assumes only one ELB per instance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capify-ec2.