diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-02-11 14:25:46 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-02-11 14:25:46 +0100 |
commit | 6ac532c0d6cd76dd5fef7cee280fdc1f43ea9222 (patch) | |
tree | 35395a8346dcae85e06ba883274f1efe258e812a /tools | |
parent | 2a4c4776daca85d66e478dd3f6a46a6e250934d0 (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.yml | 2 |
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 |