summaryrefslogtreecommitdiffstats
path: root/roles/check-compose/tasks
diff options
context:
space:
mode:
authorAdam Williamson <awilliam@redhat.com>2015-12-04 18:53:24 -0800
committerAdam Williamson <awilliam@redhat.com>2015-12-04 18:53:24 -0800
commit6babdc18834dea7d1361604c1ee6e3685a6f4c8a (patch)
tree13e84bb9d1668af2e5272b2fa32dd100524d1061 /roles/check-compose/tasks
parent09afa5ce5ff2bbaff97142f025fc0076c9431d1d (diff)
downloadansible-6babdc18834dea7d1361604c1ee6e3685a6f4c8a.tar.gz
ansible-6babdc18834dea7d1361604c1ee6e3685a6f4c8a.tar.xz
ansible-6babdc18834dea7d1361604c1ee6e3685a6f4c8a.zip
check-compose: build before install and set prefix
Diffstat (limited to 'roles/check-compose/tasks')
-rw-r--r--roles/check-compose/tasks/main.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/roles/check-compose/tasks/main.yml b/roles/check-compose/tasks/main.yml
index 203ba0976..bdb0453db 100644
--- a/roles/check-compose/tasks/main.yml
+++ b/roles/check-compose/tasks/main.yml
@@ -52,8 +52,14 @@
dest: /root/fedora-qa
register: gitqa
+- name: Build check-compose
+ command: "make prefix=/usr"
+ args:
+ chdir: /root/fedora-qa/check-compose
+ when: "gitqa|changed"
+
- name: Install check-compose
- command: "make install"
+ command: "make prefix=/usr install"
args:
chdir: /root/fedora-qa/check-compose
when: "gitqa|changed"