check-compose: build before install and set prefix

This commit is contained in:
Adam Williamson 2015-12-04 18:53:24 -08:00
parent 09afa5ce5f
commit 6babdc1883

View file

@ -52,8 +52,14 @@
dest: /root/fedora-qa dest: /root/fedora-qa
register: gitqa register: gitqa
- name: Build check-compose
command: "make prefix=/usr"
args:
chdir: /root/fedora-qa/check-compose
when: "gitqa|changed"
- name: Install check-compose - name: Install check-compose
command: "make install" command: "make prefix=/usr install"
args: args:
chdir: /root/fedora-qa/check-compose chdir: /root/fedora-qa/check-compose
when: "gitqa|changed" when: "gitqa|changed"