From ee539057a3e7387b95736dc85bd4d9af5c8e552c Mon Sep 17 00:00:00 2001 From: Srdjan Grubor Date: Tue, 14 Jan 2014 15:42:34 -0600 Subject: Added code that can run sudo tasks and install turbine/transifex client --- ansible/playbooks/setup_other_tools.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ansible/playbooks/setup_other_tools.yaml (limited to 'ansible/playbooks/setup_other_tools.yaml') diff --git a/ansible/playbooks/setup_other_tools.yaml b/ansible/playbooks/setup_other_tools.yaml new file mode 100644 index 0000000..ef7eec6 --- /dev/null +++ b/ansible/playbooks/setup_other_tools.yaml @@ -0,0 +1,18 @@ +--- +# vim:ff=unix ts=2 sw=2 ai expandtab + +- name: "Ensuring that git is installed" + apt: name=git + +- name: "Creating turbine directory" + file: path=~/checkout state=directory mode=755 + +- name: "Cloning turbine" + git: repo=git://git.gnome.org/turbine + dest=~/checkout/turbine + +- name: "Installing turbine" + shell: cd ~/checkout/turbine && python setup.py install + +- name: "Installing transifex client" + shell: pip install transifex-client -- cgit v1.2.3