Skip to content

Instantly share code, notes, and snippets.

View bsdlp's full-sized avatar

jon bsdlp

View GitHub Profile
jchen@rousseau-(master|…)> ansible-playbook -i hosts csgoserver.yml
PLAY [csgo] *******************************************************************
GATHERING FACTS ***************************************************************
fatal: [198.58.124.249] => SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue
TASK: [common | add debian mirror sources] ************************************
FATAL: no hosts matched or all hosts have already failed -- aborting
(env)[2] jchen@hobbes-(master|…)> ansible localhost -m linode -a "name=sup plan='1' payment_term='1' distribution='121' ssh_pub_key='/Users/jchen/.ssh/id_rsa.pub' state='started' wait='yes' swap='128'" -c local -i hosts -vvv
<localhost> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-1392505482.32-225705992485344 && chmod a+rx $HOME/.ansible/tmp/ansible-1392505482.32-225705992485344 && echo $HOME/.ansible/tmp/ansible-1392505482.32-225705992485344']
<localhost> REMOTE_MODULE linode name=sup plan='1' payment_term='1' distribution='121' ssh_pub_key='/Users/jchen/.ssh/id_rsa.pub' state='started' wait='yes' swap='128'
<localhost> PUT /var/folders/4w/rdhqk8g52sg3j2mhbk1jqvmm0000gn/T/tmpt60wdU TO /Users/jchen/.ansible/tmp/ansible-1392505482.32-225705992485344/linode
<localhost> EXEC ['/bin/sh', '-c', '/Users/jchen/git/automated-cats/env/bin/python /Users/jchen/.ansible/tmp/ansible-1392505482.32-225705992485344/linode; rm -rf /Users/jchen/.ansible/tmp/ansible-1392505482.32-225705992485344/ >/dev/null 2>&1

Keybase proof

I hereby claim:

  • I am fly on github.
  • I am jchen (https://keybase.io/jchen) on keybase.
  • I have a public key whose fingerprint is 2218 7D82 8B68 B56E DB85 94A3 35D9 43F7 134D 1A6D

To claim this, I am signing this object:

-console -noaafonts -novid -nojoy -freq 121 -high -nod3d9ex +mat_queue_mode 2 +mat_vignette_enable 0 -useforcedmparms -noforcemaccel -noforcemspd -processheap -threads 4 -nod3d9ex +exec autoexec.cfg
apt-get clean
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/partial/*
apt-get clean
apt-get update
apt-get upgrade
--- rc.sysinit 2014-02-20 10:44:15.000000000 +0000
+++ rc.sysinit 2014-03-09 16:38:30.000000000 +0000
@@ -503,7 +503,7 @@
mount -f /proc >/dev/null 2>&1
mount -f /sys >/dev/null 2>&1
mount -f /dev/pts >/dev/null 2>&1
- mount -f /dev/shm >/dev/null 2>&1
+ mount /dev/shm >/dev/null 2>&1
mount -f /proc/bus/usb >/dev/null 2>&1
fi
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1
hQEMA7MjWZ1nHyp/AQgAqu2myfLaPf47HjM09r3gW3N1dUd6czO4ty2BS2jfFjdY
hSzARW6KvQyEzOGwaWD7RcEELvEu1gRqGBJc9bfZhGt9S7Wrh91eLHh4n2L/6oFQ
x6Tqx9IS7u7o8ecE8QLonAnogBOp1idpiPenwu+Z9TdP4RMuUyj0llvjQXO+JsRE
IhcMcpkmVwWPHBfywRZPRH6WNNFfTsFFA9qKu1MqLi4Reh299BEZIDvakuYAFUI2
TsSq5q6G2waFKzMD+/an6K0J8mcMf1j+WO0VykalovVry0p6WPSXVjVCBqrzK9V7
W/zh2jCuNjjuLbQJHxD6BIHXtmqFW8DW6a8cOEkPuNLpAXw6Ex/a2iqD+3BG4f3o
3SJLZHvrsH7JkVgkbYzSgbNrhRPFO2WteN8m2VapNPXbPelqqf56MfKdwiE0BVwi
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1
hQIMA3+H7i3Ypr4GARAAjrm0+fzL3llJAeCasYytlDjMeOlhkI47OgJTzhgqUdtN
p1UbLFDJIFgo6yQxqYDxZ0TE0sXtUoUbzfGt3ud1dBhi5wV4i2FA3bHuXWZLwAdM
n0zI3W63TlZYowUJ5q35/Lw14UqFbPYdt/u8EHAjMEMP4leuvAlcVSRKTEbr6jfK
NF8/Q2eW3PxY+LVcJnBtThyaBZxNl+vzkWVlhtHay3fnLc+5t/ZDOYf1ChUdT7BE
VicIAW0qKP/xyx0p8AAttrTqQ0QhHUNkEBA9p38XH6gkF6D+EQZ4x5LiSK2IM7P7
Yhs176JAk6keB/DsrWXYKktyzMN4r0BjhZEcgZISHLB3+KMWQ31Y8M+wh8WzGZnI
TP7PTrI7haG+uv9f1f2zWrY7Rl8lAaWsi+WV9/kx9KJ3W4CrPWhbavoudmMH0qk6
>>> print(models.MCServer.query.all())
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/query.py", line 2292, in all
return list(self)
File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/loading.py", line 72, in instances
rows = [process[0](row, None) for row in fetch]
File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/loading.py", line 72, in <listcomp>
rows = [process[0](row, None) for row in fetch]
File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/loading.py", line 481, in _instance
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
PORT STATE SERVICE
1/tcp filtered tcpmux
9/tcp filtered discard
11/tcp filtered systat
13/tcp filtered daytime
15/tcp filtered netstat
19/tcp filtered chargen
93/tcp filtered dcp
111/tcp filtered rpcbind
135/tcp filtered msrpc