diff options
author | Srdjan Grubor <sgnn7@sgnn7.org> | 2014-01-15 16:20:39 -0600 |
---|---|---|
committer | Srdjan Grubor <sgnn7@sgnn7.org> | 2014-01-16 21:46:33 -0600 |
commit | d153bb68ce0f2297b950ed50003837aca7490920 (patch) | |
tree | 2042c1fdf9e5d00b0d7c4cee56d16f0258c0ffc5 /ansible | |
parent | a67201daae41769a78a392208730c992f522f3f9 (diff) |
Made some advancements in getting jhbuild to install dependencies
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/playbooks/install_jhbuild_deps.yaml | 3 | ||||
-rw-r--r-- | ansible/playbooks/jhbuild_run.yaml | 16 | ||||
-rwxr-xr-x | ansible/setup_dev_machine.sh | 1 |
3 files changed, 17 insertions, 3 deletions
diff --git a/ansible/playbooks/install_jhbuild_deps.yaml b/ansible/playbooks/install_jhbuild_deps.yaml index 2c5dbe5..c802950 100644 --- a/ansible/playbooks/install_jhbuild_deps.yaml +++ b/ansible/playbooks/install_jhbuild_deps.yaml @@ -14,6 +14,3 @@ - name: "Updating apt-file cache" shell: apt-file update - - - name: "Installing dependencies" - shell: jhbuild sysdeps --install diff --git a/ansible/playbooks/jhbuild_run.yaml b/ansible/playbooks/jhbuild_run.yaml new file mode 100644 index 0000000..eb1d72a --- /dev/null +++ b/ansible/playbooks/jhbuild_run.yaml @@ -0,0 +1,16 @@ +--- +# vim:ff=unix ts=2 sw=2 ai expandtab +- + hosts: dev_machine + + sudo: False + + vars_files: + - "../default_variables.yaml" + + tasks: + - name: "Installing jhbuild dependencies" + shell: executable=/bin/bash ~/.local/bin/jhbuild sysdeps --install + + - name: "Building jhbuild modules" + shell: executable=/bin/bash ~/.local/bin/jhbuild build diff --git a/ansible/setup_dev_machine.sh b/ansible/setup_dev_machine.sh index 292bf00..747ecee 100755 --- a/ansible/setup_dev_machine.sh +++ b/ansible/setup_dev_machine.sh @@ -40,3 +40,4 @@ EOF ansible-playbook -i $tmp_inventory playbooks/setup_dev_machine_root.yaml ansible-playbook -i $tmp_inventory playbooks/setup_jhbuild.yaml ansible-playbook -i $tmp_inventory playbooks/install_jhbuild_deps.yaml +ansible-playbook -i $tmp_inventory playbooks/jhbuild_run.yaml |