Sha256: 0975344dfead74cc432ed55ccf6bc099b329a2413f2dd03907391275fe7eee0b
Contents?: true
Size: 315 Bytes
Versions: 10
Compression:
Stored size: 315 Bytes
Contents
desc "execute command on all servers" task :remote_execute, :command do |_task, args| raise ArgumentError, 'remote_execute task requires an argument' unless args[:command] on roles(:all) do |host| info args[:command] if fetch(:log_level) == :debug info "#{host}:\n#{capture(args[:command])}" end end
Version data entries
10 entries across 10 versions & 1 rubygems