Skip to content

Instantly share code, notes, and snippets.

View delano's full-sized avatar

Delano delano

View GitHub Profile
---
# ^^^ 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.
[unix_http_server]
file=/tmp/supervisor.sock ; path to your socket file
[supervisord]
logfile=/var/log/supervisord/supervisord.log ; supervisord log file
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error ; info, debug, warn, trace
pidfile=/var/run/supervisord.pid ; pidfile location
nodaemon=false ; run supervisord as a daemon
@delano
delano / cltools.sh
Created June 15, 2016 22:51 — forked from jellybeansoup/cltools.sh
Install Autoconf and Automake on OS X Mountain Lion
#!/bin/sh
##
# Install autoconf, automake and libtool smoothly on Mac OS X.
# Newer versions of these libraries are available and may work better on OS X
#
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
#
export build=~/devtools # or wherever you'd like to build
@delano
delano / README
Last active October 26, 2022 23:26 — forked from jdowning/ami-clean.sh
Script to clean up Ubuntu EC2 instance before packaging as an AMI
See: https://gist.githubusercontent.com/delano/4eee6bcfce0b6e3c83f1e98d9cd7af16
@delano
delano / docker-compose.yml
Created December 2, 2022 07:23 — forked from drzero42/docker-compose.yml
Postgres logical replication breakage
version: "3"
services:
master:
image: postgres:11
environment:
POSTGRES_PASSWORD: abc123
command: -c config_file=/etc/postgresql/postgresql.conf
volumes:
- ./postgresql.conf:/etc/postgresql/postgresql.conf