From 29ded8f16c47d285144d2b85ead07974c7079bd6 Mon Sep 17 00:00:00 2001 From: Srdjan Grubor Date: Thu, 16 Jan 2014 21:45:34 -0600 Subject: Moved ansible directory into tools --- tools/dev_env_setup/playbooks/setup_jhbuild.yaml | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tools/dev_env_setup/playbooks/setup_jhbuild.yaml (limited to 'tools/dev_env_setup/playbooks/setup_jhbuild.yaml') diff --git a/tools/dev_env_setup/playbooks/setup_jhbuild.yaml b/tools/dev_env_setup/playbooks/setup_jhbuild.yaml new file mode 100644 index 0000000..45a9df7 --- /dev/null +++ b/tools/dev_env_setup/playbooks/setup_jhbuild.yaml @@ -0,0 +1,34 @@ +--- +# vim:ff=unix ts=2 sw=2 ai expandtab +- + hosts: dev_machine + + sudo: False + + vars_files: + - "../default_variables.yaml" + + tasks: + - name: "Ensuring that git is installed" + apt: name=git update_cache=true cache_valid_time=259200 + + - name: "Creating checkout directory" + file: path=~/checkout state=directory mode=755 + + - name: "Cloning jhbuild" + git: repo=git://git.gnome.org/jhbuild + dest=~/checkout/jhbuild + + - name: "Installing jhbuild - autogen" + shell: cd ~/checkout/jhbuild && ./autogen.sh + + - name: "Installing jhbuild - make" + shell: cd ~/checkout/jhbuild && make + + - name: "Installing jhbuild - make install" + shell: cd ~/checkout/jhbuild && make install + + - name: "Creating glib schemas dir" + file: path=~/install/share/glib-2.0/schemas state=directory mode=755 + + - include: setup_default_ssh_key.yaml -- cgit v1.2.1