summaryrefslogtreecommitdiff
path: root/ansible/playbooks/setup_jhbuild.yaml
diff options
context:
space:
mode:
authorSrdjan Grubor <sgnn7@sgnn7.org>2014-01-14 17:13:25 -0600
committerSrdjan Grubor <sgnn7@sgnn7.org>2014-01-16 21:46:33 -0600
commita67201daae41769a78a392208730c992f522f3f9 (patch)
tree32d1b6eef95e5284c9e2e0b53e8c6bbd80f3550e /ansible/playbooks/setup_jhbuild.yaml
parentee539057a3e7387b95736dc85bd4d9af5c8e552c (diff)
Added more code to get jhbuild installed properly and set the apt cache a bit higher. Still needs work
Diffstat (limited to 'ansible/playbooks/setup_jhbuild.yaml')
-rw-r--r--ansible/playbooks/setup_jhbuild.yaml38
1 files changed, 23 insertions, 15 deletions
diff --git a/ansible/playbooks/setup_jhbuild.yaml b/ansible/playbooks/setup_jhbuild.yaml
index fdbb0c0..dfdee4b 100644
--- a/ansible/playbooks/setup_jhbuild.yaml
+++ b/ansible/playbooks/setup_jhbuild.yaml
@@ -1,24 +1,32 @@
---
# vim:ff=unix ts=2 sw=2 ai expandtab
+-
+ hosts: dev_machine
-- name: "Ensuring that git is installed"
- apt: name=git
+ sudo: False
-- name: "Creating checkout directory"
- file: path=~/checkout state=directory mode=755
+ vars_files:
+ - "../default_variables.yaml"
-- name: "Cloning jhbuild"
- git: repo=git://git.gnome.org/jhbuild
- dest=~/checkout/jhbuild
+ tasks:
+ - name: "Ensuring that git is installed"
+ apt: name=git update_cache=true cache_valid_time=259200
-- name: "Installing jhbuild - autogen"
- shell: cd ~/checkout/jhbuild && ./autogen.sh
+ - name: "Creating checkout directory"
+ file: path=~/checkout state=directory mode=755
-- name: "Installing jhbuild - make"
- shell: cd ~/checkout/jhbuild && make
+ - name: "Cloning jhbuild"
+ git: repo=git://git.gnome.org/jhbuild
+ dest=~/checkout/jhbuild
-- name: "Installing jhbuild - make install"
- shell: cd ~/checkout/jhbuild && make install
+ - name: "Installing jhbuild - autogen"
+ shell: cd ~/checkout/jhbuild && ./autogen.sh
-- name: "Creating glib schemas dir"
- file: path=~/install/share/glib-2.0/schemas state=directory mode=755
+ - 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