mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Continue if HOSTROLEFILTER= is set
This commit is contained in:
parent
5213ac609e
commit
e7d795933d
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…
Add table
Reference in a new issue