summaryrefslogtreecommitdiffstats
path: root/ci/ansible/roles/osdslet/tasks/main.yml
blob: 2c3e0aa02aa606301df7fd4e25187dda93eaf0bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: run osdslet daemon service
  shell:
    cmd: |
      i=0
      while
        i="$((i+1))"
        [ "$i" -lt 4 ]
      do
        nohup bin/osdslet > osdslet.out 2> osdslet.err < /dev/null &
        sleep 5
        ps aux | grep osdslet | grep -v grep && break
      done
  args:
    chdir: "{{ opensds_build_dir }}/out"