From 125372597561433ff8e292c980a4e31312ef00c4 Mon Sep 17 00:00:00 2001 From: Sascha Marcel Schmidt Date: Wed, 4 Jul 2018 19:31:25 +0200 Subject: [PATCH] add necessary chdir --- .../heketi/roles/provision/tasks/setup/volumes.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/network-storage/heketi/roles/provision/tasks/setup/volumes.yml b/contrib/network-storage/heketi/roles/provision/tasks/setup/volumes.yml index 268ca94a2..265cdff57 100644 --- a/contrib/network-storage/heketi/roles/provision/tasks/setup/volumes.yml +++ b/contrib/network-storage/heketi/roles/provision/tasks/setup/volumes.yml @@ -17,6 +17,7 @@ when: "volume.name == 'heketidbstorage'" - name: "Provision database volume." command: "heketi-cli -s http://localhost:48080 setup-openshift-heketi-storage" + args: { chdir: "{{ artifacts_dir }}" } when: "heketi_database_volume_exists is undefined" - name: "Get heketi volume ids." command: "heketi-cli -s http://localhost:48080 volume list --json"