mirror of https://github.com/ceph/ceph-ansible.git
iscsi: move package install to ceph-iscsi-role
Signed-off-by: Sébastien Han <seb@redhat.com>pull/2014/head
parent
1581a1c078
commit
4032f102fe
|
@ -93,14 +93,3 @@
|
||||||
when:
|
when:
|
||||||
- nfs_group_name in group_names
|
- nfs_group_name in group_names
|
||||||
- nfs_obj_gw
|
- nfs_obj_gw
|
||||||
|
|
||||||
- name: install redhat ceph iscsi package
|
|
||||||
package:
|
|
||||||
name: "{{ item }}"
|
|
||||||
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
|
||||||
with_items:
|
|
||||||
- tcmu-runner
|
|
||||||
- ceph-iscsi-config
|
|
||||||
- targetcli
|
|
||||||
when:
|
|
||||||
- iscsi_gw_group_name in group_names
|
|
||||||
|
|
|
@ -1,4 +1,15 @@
|
||||||
---
|
---
|
||||||
|
- name: install redhat ceph iscsi package
|
||||||
|
package:
|
||||||
|
name: "{{ item }}"
|
||||||
|
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
|
||||||
|
with_items:
|
||||||
|
- tcmu-runner
|
||||||
|
- ceph-iscsi-config
|
||||||
|
- targetcli
|
||||||
|
when:
|
||||||
|
- ansible_os_family == 'RedHat'
|
||||||
|
|
||||||
- name: check the status of the target.service override
|
- name: check the status of the target.service override
|
||||||
stat:
|
stat:
|
||||||
path: /etc/systemd/system/target.service
|
path: /etc/systemd/system/target.service
|
||||||
|
|
Loading…
Reference in New Issue