I hereby claim:
- I am suprememoocow on github.
- I am suprememoocow (https://keybase.io/suprememoocow) on keybase.
- I have a public key ASArGob_MP2p2mMUwBx511-U9kESxEi7i7Oaci1KVBhjXQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
// require() some stuff from npm (like you were using browserify) | |
// and then hit Rebuild to run it on the right | |
var b = require('backbone') |
●● | |
2 successes / 0 failures / 0 errors / 0 pending : 0.008108 seconds |
start on starting gitter-web ## The parent upstart service, so we can start and stop groups together | |
stop on stopping gitter-web | |
# Respawn, but no too much | |
respawn | |
respawn limit 10 5 | |
# Give the process 20 seconds to shutdown properly before resorting to SIGKILL | |
kill timeout 20 |
--- | |
- action: ec2_facts | |
- name: "list volumes" | |
command: 'aws ec2 describe-volumes --filter Name=attachment.instance-id,Values={{ ansible_ec2_instance_id }}' | |
register: ec2_volumes_output | |
- set_fact: | |
ec2_volumes: "{{ ec2_volumes_output.stdout | from_json }}" |
#!/bin/bash | |
set -e | |
TIME=30 | |
# trap ctrl-c and call ctrl_c() | |
trap ctrl_c INT | |
function ctrl_c() { | |
echo + Stopping service 1 |
- action: ec2_facts | |
- apt: pkg=lvm2 state=present | |
- apt: pkg=mdadm state=present | |
- pip: name=boto state=latest | |
- ec2_vol: instance="{{ hostvars[inventory_hostname]['ansible_ec2_instance-id'] }}" | |
volume_size=20 | |
device_name="{{ item }}" |
#!/bin/bash | |
# roles/openssl/files/install.sh | |
wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz -O /tmp/openssl-1.0.1g.tar.gz | |
cd /tmp | |
tar -xvzf openssl-1.0.1g.tar.gz | |
cd openssl-1.0.1g |
# git is needed for npm if you have git references | |
build-essential: | |
pkg: | |
- installed | |
npm-custom: | |
git.latest: | |
- name: https://github.com/isaacs/npm.git | |
- target: /opt/npm | |
- rev: v1.4.4 |