mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Merge pull request #1554 from eric/fix-host-role-filter
Continue if HOSTROLEFILTER= is set
This commit is contained in:
commit
c0f5be4055
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ module Capistrano
|
|||
servers = find_servers_for_task(task, options)
|
||||
|
||||
if servers.empty?
|
||||
if ENV['HOSTFILTER'] || task.options.merge(options)[:on_no_matching_servers] == :continue
|
||||
if ENV['HOSTFILTER'] || ENV['HOSTROLEFILTER'] || task.options.merge(options)[:on_no_matching_servers] == :continue
|
||||
logger.info "skipping `#{task.fully_qualified_name}' because no servers matched"
|
||||
else
|
||||
unless dry_run
|
||||
|
|
Loading…
Reference in a new issue