summaryrefslogtreecommitdiff
path: root/tools/dev_env_setup/playbooks/setup_jhbuild.yaml
diff options
context:
space:
mode:
authorSrdjan Grubor <sgnn7@sgnn7.org>2014-01-16 21:45:34 -0600
committerSrdjan Grubor <sgnn7@sgnn7.org>2014-01-16 21:46:33 -0600
commit29ded8f16c47d285144d2b85ead07974c7079bd6 (patch)
tree0be6bbf4681262e17a54f72bb89c78a00e309907 /tools/dev_env_setup/playbooks/setup_jhbuild.yaml
parent28197345ad32daa836fbf84b16a2b936a8086eaa (diff)
Moved ansible directory into tools
Diffstat (limited to 'tools/dev_env_setup/playbooks/setup_jhbuild.yaml')
-rw-r--r--tools/dev_env_setup/playbooks/setup_jhbuild.yaml34
1 files changed, 34 insertions, 0 deletions
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