lib/blower/context.rb
# Yield with a temporary host list
# @macro quietable
Yield with a temporary host list
Yield with a temporary host list
def on (*hosts, quiet: false)
      let :@hosts => hosts.flatten do
        log.info "on #{@hosts.map(&:name).join(", ")}", quiet: quiet do
          yield
        end
      end
    end
def on ( * hosts , quiet : false ) let :@hosts => hosts . flatten do log . info "on #{@hosts.map(&:name).join(", ")}" , quiet : quiet do yield end end end
Yield with a temporary host list
Yield with a temporary host list
hosts
<not_specific>
quiet
<not_specific>
macro
None