add necessary chdir

This commit is contained in:
Sascha Marcel Schmidt 2018-07-04 19:31:25 +02:00
parent f4c1d6a5d7
commit 1253725975
No known key found for this signature in database
GPG key ID: D1D6CE184437796D

View file

@ -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"