summaryrefslogtreecommitdiffstats
path: root/extras/devel-tools/devel-vagrant/ansible/roles/compile-gluster/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'extras/devel-tools/devel-vagrant/ansible/roles/compile-gluster/tasks/main.yml')
-rw-r--r--extras/devel-tools/devel-vagrant/ansible/roles/compile-gluster/tasks/main.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/extras/devel-tools/devel-vagrant/ansible/roles/compile-gluster/tasks/main.yml b/extras/devel-tools/devel-vagrant/ansible/roles/compile-gluster/tasks/main.yml
index 1807dc05f33..6ee258c7780 100644
--- a/extras/devel-tools/devel-vagrant/ansible/roles/compile-gluster/tasks/main.yml
+++ b/extras/devel-tools/devel-vagrant/ansible/roles/compile-gluster/tasks/main.yml
@@ -1,9 +1,10 @@
---
- name: autogen.sh
- shell: chdir=/work/source/glusterfs ./autogen.sh
+ shell: chdir={{ item }} ./autogen.sh
+ with_items: "{{ trg_path }}"
- name: configure
- shell: chdir=/work/source/glusterfs CFLAGS="-g -O0 -Werror -Wall -Wno-error=cpp -Wno-error=maybe-uninitialized" \
+ shell: chdir={{ item }} CFLAGS="-g -O0 -Werror -Wall -Wno-error=cpp -Wno-error=maybe-uninitialized" \
./configure \
--prefix=/usr \
--exec-prefix=/usr \
@@ -20,7 +21,9 @@
--infodir=/usr/share/info \
--libdir=/usr/lib64 \
--enable-debug
+ with_items: "{{ trg_path }}"
- name: make install
- shell: chdir=/work/source/glusterfs make install
+ shell: chdir={{ item }} make install
+ with_items: "{{ trg_path }}"