ceph-iscsi: start tcmu-runner for non-container

Only rbd-target-api and rbd-target-gw were started/enabled for non
containerized deployment.
The issue doesn't happen with containerized setup.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
pull/3924/head
Dimitri Savineau 2019-04-23 10:08:30 -04:00 committed by Guillaume Abrioux
parent 564ec9c992
commit 4ae5ce399b
1 changed files with 7 additions and 10 deletions

View File

@ -61,16 +61,13 @@
- target.stat.exists
- not target.stat.islnk
- name: enable the rbd-target-gw service and make sure it is running
- name: start tcmu-runner, rbd-target-api and rbd-target-gw
service:
name: rbd-target-gw
name: "{{ item }}"
state: started
enabled: yes
masked: no
state: started
- name: enable the rbd-target-api service and make sure it is running
service:
name: rbd-target-api
enabled: yes
masked: no
state: started
with_items:
- tcmu-runner
- rbd-target-gw
- rbd-target-api