Skip to content

Instantly share code, notes, and snippets.

debug2: ssh_connect: needpriv 0
debug1: Connecting to deis.e.example.com [192.168.54.204] port 2222.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/sgoings/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/sgoings/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/sgoings/.ssh/id_rsa-cert type -1
debug1: identity file /home/sgoings/.ssh/id_dsa type -1
---
- hosts: all
tasks:
- name: "This task works"
docker: image="readytalk/tomcat-native:8.0.9"
state="running"
env="CATALINA_OPTS=-Ddb_max_active='5'
-Ddb_initial_pool_size='1'
-Ddb_time_bewtween_eviction='600000'"
log('Copy Eula to common file name')
shutil.copy(installer_path + "TermsandConditions.rtf",
installer__path + "eula.rtf")
log('Build')
# change signing cert
log(" !!!!!!! Add back in change_cert !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
#change_signing_cert("9eb2ea9fab24d9705d188afa4295ebc77f30a93d",
# "4801533474c9bf3ba7d8471d68d93578d2ef6caa")
@sgoings
sgoings / gist:703966
Created November 17, 2010 20:04
Rspec Tests for SCP upload transfer performance
require 'net/scp'
describe Net::SCP do
def analyze(filename)
file_size = (File.size(filename)/(1024*1024))
puts "Starting transfer of #{filename}"
start_time = Time.now
yield filename
duration = Time.now - start_time