This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D, [2013-10-10T10:17:22.970863 #12659] DEBUG -- net.ssh.transport.session[3fdf324ca274]: establishing connection to 127.0.0.1:7222 | |
D, [2013-10-10T10:17:22.971295 #12659] DEBUG -- net.ssh.transport.session[3fdf324ca274]: connection established | |
I, [2013-10-10T10:17:22.971369 #12659] INFO -- net.ssh.transport.server_version[3fdf324cf634]: negotiating protocol version | |
D, [2013-10-10T10:17:22.975480 #12659] DEBUG -- net.ssh.transport.server_version[3fdf324cf634]: remote is `SSH-2.0-OpenSSH_5.3' | |
D, [2013-10-10T10:17:22.975552 #12659] DEBUG -- net.ssh.transport.server_version[3fdf324cf634]: local is `SSH-2.0-Ruby/Net::SSH_2.7.0 x86_64-darwin12.4.0' | |
D, [2013-10-10T10:17:22.977023 #12659] DEBUG -- tcpsocket[3fdf324cfe7c]: read 784 bytes | |
D, [2013-10-10T10:17:22.977121 #12659] DEBUG -- tcpsocket[3fdf324cfe7c]: received packet nr 0 type 20 len 780 | |
I, [2013-10-10T10:17:22.977179 #12659] INFO -- net.ssh.transport.algorithms[3fdf324cea40]: got KEXINIT from server | |
I, [2013-10-10T10:17:22.977275 #12659] INFO -- net.ssh.tra |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: deploy test files | |
hosts: tag_Name_usertest | |
user: '{{ user }}' | |
sudo: true | |
gather_facts: True | |
vars: | |
new_user: nathan | |
tasks: | |
- name: generate ssh keys | |
user: > |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Create ec2 instances | |
hosts: local | |
gather_facts: True | |
vars_files: | |
- group_vars/all | |
vars: | |
poll_interval: 5 | |
roles: | |
- { role: create-instances, query_group: 'assignment_take_small' } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: gather test results | |
hosts: '{{ec2_host_group }}' | |
user: '{{ user }}' | |
gather_facts: True | |
vars_files: | |
- group_vars/all | |
vars: | |
results_base_path: /tmp/mysql_slap_results | |
run_datetime: '{{ lookup("pipe", "date +%Y-%m-%dT%H:%M:%SZ") }}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GATHERING FACTS *************************************************************** | |
<localhost> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-1379534403.68-80673291747765 && chmod a+rx $HOME/.ansible/tmp/ansible-1379534403.68-80673291747765 && echo $HOME/.ansible/tmp/ansible-1379534403.68-80673291747765'] | |
<localhost> REMOTE_MODULE setup | |
<localhost> PUT /var/folders/4k/1wyf_lds3dvfy66qd11ys5m40000gp/T/tmplpcQKN TO /Users/nathan/.ansible/tmp/ansible-1379534403.68-80673291747765/setup | |
<localhost> EXEC ['/bin/sh', '-c', '/usr/local/bin/python /Users/nathan/.ansible/tmp/ansible-1379534403.68-80673291747765/setup; rm -rf /Users/nathan/.ansible/tmp/ansible-1379534403.68-80673291747765/ >/dev/null 2>&1'] | |
ok: [localhost] | |
TASK: [show ec2 instances] **************************************************** | |
ok: [localhost] => {"item": "", "msg": "Instance Ids are [u'i-e0d0f889']"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ruby xmlrpc-test.rb | |
"<?xml version=\"1.0\" ?><methodCall><methodName>command</methodName><params><param><value><struct><member><name>expr</name><value><array><data><value><string>2 * 3</string></value></data></array></value></member></struct></value></param></params></methodCall>\n" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Fixnum | |
def at | |
Time.at self | |
end | |
end | |
# [36] pry(main)> 1374575803.at | |
# => 2013-07-23 06:36:43 -0400 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: webserver plays | |
hosts: all | |
user: nathan | |
sudo: no | |
gather_facts: false | |
vars: | |
foo: "onetwothree" | |
bar: "fourfivesix" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: webserver plays | |
hosts: all | |
user: nathan | |
sudo: no | |
gather_facts: false | |
vars: | |
foo: "onetwothree" | |
bar: "fourfivesix" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: webserver plays | |
hosts: all | |
user: nathan | |
sudo: no | |
gather_facts: false | |
vars: | |
foo: onetwothree | |
bar: fourfivesix |