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"