summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-02-11 14:25:46 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-02-11 14:25:46 +0100
commit6ac532c0d6cd76dd5fef7cee280fdc1f43ea9222 (patch)
tree35395a8346dcae85e06ba883274f1efe258e812a /tools
parent2a4c4776daca85d66e478dd3f6a46a6e250934d0 (diff)
Use POSIX compliant shell command in cicdansible
"[[ ]]" is a bash specific command that doesn't work in dash which is Ubuntu's default shell. Change-Id: Idd09c2e1e8c409503b12756141632527ab91b5ec Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: OOM-1671
Diffstat (limited to 'tools')
-rw-r--r--tools/cicdansible/roles/setup_openstack_infrastructure/tasks/configure/volume.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cicdansible/roles/setup_openstack_infrastructure/tasks/configure/volume.yml b/tools/cicdansible/roles/setup_openstack_infrastructure/tasks/configure/volume.yml
index 8c553850..568b7202 100644
--- a/tools/cicdansible/roles/setup_openstack_infrastructure/tasks/configure/volume.yml
+++ b/tools/cicdansible/roles/setup_openstack_infrastructure/tasks/configure/volume.yml
@@ -7,7 +7,7 @@
partition_path: "{{ volume_path }}-part1"
- name: "Wait for volume"
#We do not do it normally, because we want to trigger udev (workaround for some bugs).
- shell: "udevadm trigger && udevadm settle && [[ -b {{ volume_path }} ]]"
+ shell: "udevadm trigger && udevadm settle && [ -b {{ volume_path }} ]"
register: result
retries: 30
delay: 10