Merge "Disable iscsi.service to avoid iscsid on host from getting started" into stable/stein
This commit is contained in:
commit
8e33c2ae36
@ -111,6 +111,13 @@ outputs:
|
||||
- name: Stop and disable iscsid.socket service
|
||||
service: name=iscsid.socket state=stopped enabled=no
|
||||
when: stat_iscsid_socket.stat.exists
|
||||
- name: Check if iscsi.service is enabled
|
||||
command: systemctl is-enabled --quiet iscsi.service
|
||||
ignore_errors: True
|
||||
register: iscsi_service_enabled_result
|
||||
- name: Stop iscsi.service
|
||||
service: name=iscsi.service state=stopped enabled=no
|
||||
when: iscsi_service_enabled_result.rc == 0
|
||||
upgrade_tasks: []
|
||||
post_upgrade_tasks:
|
||||
- when: step|int == 1
|
||||
|
Loading…
Reference in New Issue
Block a user