Hi,
I'm having problems with specifying role and than running it on particular
task.
I have specified roles like this:
role :app, [aeryn.example.com, chiana.example.com]
role :db, aeryn.example.com
role :memcached_servers, keiko.example.com
Here's task I'm using to run for memcached_servers:
task :clear_cache, :roles => :memcached_servers do
run "#{shared_path}/scripts/clear_cache.sh"
end
after "deploy:update_code", :clear_cache
The problem I have is that when I run:
cap clear_cache
... the task is running on [aeryn, keiko] and should be running only on
[keiko]?
I don't know why but aeryn is always included.
My setup is:
GEMs:
capistrano 2.5.0
capistrano-ext 1.2.1
Servers:
Ubuntu 7.10
My personal computer:
Mac Intel, OS X
Thank you for help.
Ladislav
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---