Skip to content

Instantly share code, notes, and snippets.

@SayBeano
SayBeano / neutron.sh
Created Jun 6, 2016 — forked from etoews/neutron.sh
Create a Neutron network, subnet, and port and boot an instance with the port
View neutron.sh
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 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
View pedantically_commented_playbook.yml
---
# ^^^ 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 — forked from dzharii/install.sh
Raspberry Pi elasticsearch-2.2.0.tar.gz and kibana-4.4.0-linux-x64.tar.gz
View install.sh
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