Skip to content

Instantly share code, notes, and snippets.

@SayBeano
SayBeano / neutron.sh
Created June 6, 2016 12:56 — forked from etoews/neutron.sh
Create a Neutron network, subnet, and port and boot an instance with the port
OS_AUTH_URL=http://162.242.242.161:5000/v2.0/
OS_REGION_NAME=RegionOne
OS_USERNAME=admin
OS_TENANT_NAME=admin
OS_PASSWORD=devstack
NET_NAME="test1-net"
IP_CIDR=192.168.0.0/24
IP_START=192.168.0.10
IP_END=192.168.0.20
@SayBeano
SayBeano / pedantically_commented_playbook.yml
Created May 23, 2016 09:06 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
@SayBeano
SayBeano / install.sh
Created May 11, 2016 13:03 — forked from dzharii/install.sh
Raspberry Pi elasticsearch-2.2.0.tar.gz and kibana-4.4.0-linux-x64.tar.gz
sudo apt-get install openjdk-7-jre
sudo mkdir /usr/share/elasticsearch
cd /usr/share/elasticsearch
sudo wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.2.0/elasticsearch-2.2.0.tar.gz
sudo wget https://download.elastic.co/kibana/kibana/kibana-4.4.0-linux-x64.tar.gz
sudo tar -zxvf elasticsearch-2.2.0.tar.gz