Install ansible on Amazon EC2

Amazon Linux variety # enable root ssh login as per http://tinyurl.com/d46d3o8 # as root cd /usr/local/src yum -y install git python-jinja2 python-paramiko PyYAML make MySQL-python git clone git://github.com/ansible/ansible.git cd ansible && make install As per http://ansible.cc/docs/gettingstarted.html add your EC2 instance to /etc/ansible/hosts on your local (master) ansible install. You may also want to add your …

Continue reading ‘Install ansible on Amazon EC2’ »

Testing out cobbler with virtuabox

Some of the steps from my test of cobbler / centos / virtualbox. Download Centos 6 minimal ISO, install it on a virtualbox guest #1. Call it centos6a. Configure it with ~8GB root partition, 1GB memory & 2 network interfaces, eth0 bridged adaptor, eth1 internal network. Unless you really want it I recommend disabling SELinux. …

Continue reading ‘Testing out cobbler with virtuabox’ »

MQTT: MQ Telemetry Transport

MQTT is a machine-to-machine M2M/”Internet of Things” connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium. via MQTT: MQ Telemetry Transport. This is supported by the python Mosquitto module.

Using makefiles to manage config

I last used makefiles a long time ago, so this took some refreshing… Recently I’ve been looking at using qtile, a python based window manager. I’ve also been thinking about managing my config files using git and makefiles to “publish”. Here’s an example makefile for config.py: SRCFILE = config.py DSTDIR = ~/.config/qtile/ .PHONY: all all: …

Continue reading ‘Using makefiles to manage config’ »