mirror of https://github.com/ceph/ceph-ansible.git
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>
(cherry picked from commit 4ae5ce399b
)
pull/3917/merge
parent
7c62aaa78a
commit
e29a8a1f31
|
@ -62,16 +62,13 @@
|
||||||
- target.stat.exists
|
- target.stat.exists
|
||||||
- not target.stat.islnk
|
- 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:
|
service:
|
||||||
name: rbd-target-gw
|
name: "{{ item }}"
|
||||||
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
masked: no
|
masked: no
|
||||||
state: started
|
with_items:
|
||||||
|
- tcmu-runner
|
||||||
- name: enable the rbd-target-api service and make sure it is running
|
- rbd-target-gw
|
||||||
service:
|
- rbd-target-api
|
||||||
name: rbd-target-api
|
|
||||||
enabled: yes
|
|
||||||
masked: no
|
|
||||||
state: started
|
|
||||||
|
|
Loading…
Reference in New Issue