Skip to content

Instantly share code, notes, and snippets.

View ericmdev's full-sized avatar

Eric Mugerwa ericmdev

  • Manchester, United Kingdom
View GitHub Profile
@ericmdev
ericmdev / build.properties
Created September 12, 2016 00:08
A base phing build file
remote.user =
remote.host =
remote.deploy-directory =
release.branch = master
git.repository-url =
ssh.public-key =
ssh.private-key =
@ericmdev
ericmdev / pedantically_commented_playbook.yml
Created September 12, 2016 18:20 — 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.
@ericmdev
ericmdev / core_install_python_ansible.sh
Created January 7, 2017 15:05
Install Python on CoreOS and configure Ansible Interpreter
#!/bin/bash
### Install Python on CoreOS
VERSIONS=${VERSIONS:-"2.7.8.10"}
mkdir -p /opt/bin
cd /opt
wget http://downloads.activestate.com/ActivePython/releases/${VERSIONS}/ActivePython-${VERSIONS}-linux-x86_64.tar.gz