Skip to content

Instantly share code, notes, and snippets.

@wakwanza
Last active August 29, 2015 14:00
Show Gist options
  • Save wakwanza/11199801 to your computer and use it in GitHub Desktop.
Save wakwanza/11199801 to your computer and use it in GitHub Desktop.
Ansible play to install Twemproxy(Nutcracker)
---
- name: Download and unpack the twemproxy/nutcracker source
shell: creates=/tmp/nutcracker-0.3.0 wget -O - https://twemproxy.googlecode.com/files/nutcracker-0.3.0.tar.gz | tar -xz -C /tmp
- name: Install twemproxy
command: {{ item }} chdir=/tmp/nutcracker-0.3.0
with_items:
- ./configure --enable-debug=log
- make
- make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment