summaryrefslogtreecommitdiff
path: root/distbuild/ansible/use-latest-morph.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'distbuild/ansible/use-latest-morph.yaml')
-rw-r--r--distbuild/ansible/use-latest-morph.yaml19
1 files changed, 4 insertions, 15 deletions
diff --git a/distbuild/ansible/use-latest-morph.yaml b/distbuild/ansible/use-latest-morph.yaml
index 24a8157c..9f2716d2 100644
--- a/distbuild/ansible/use-latest-morph.yaml
+++ b/distbuild/ansible/use-latest-morph.yaml
@@ -13,24 +13,13 @@
---
- hosts: all
+ gather_facts: false
vars:
- TROVE_HOST: git.baserock.org
- - MORPH_VERSION: master
+ - MORPH_VERSION: sam/distbuild-build-logs
tasks:
- - name: clone Morph repository
- command: git clone git://{{ TROVE_HOST }}/baserock/baserock/morph /srv/morph
- args:
- creates: /srv/morph
-
- - name: update Morph repository
- command: git remote update origin
- args:
- chdir: /srv/morph
-
- - name: check out specified version of Morph
- command: git checkout {{ MORPH_VERSION }}
- args:
- chdir: /srv/morph
+ - name: check out Morph from Git
+ git: dest=/srv/morph version={{ MORPH_VERSION }} repo=git://{{ TROVE_HOST }}/baserock/baserock/morph accept_hostkey=True
- name: ensure latest Morph is used
template: backup=yes src=run-from-morph-source-tree.sh.template dest=/usr/bin/{{ item }} mode=0755