Sha256: e2f6b099b494179977513034c43a91827c546e293d79ccca3943658bb577457e

Contents?: true

Size: 229 Bytes

Versions: 1

Compression:

Stored size: 229 Bytes

Contents

# frozen_string_literal: true

desc 'check ssh connections to all app servers'
task :ssh_check do
  on roles(:app), in: :sequence do |host|
    exec "ssh -l #{host.user} #{host.hostname} -p #{host.port || 22} -t 'env'"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dlss-capistrano-docker-1.2.0 lib/dlss/docker/capistrano/tasks/ssh_check.rake