iscsi: move package install to ceph-iscsi-role

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/2014/head
Sébastien Han 2017-10-09 15:30:54 +02:00
parent 1581a1c078
commit 4032f102fe
2 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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