fix: remove reboot condition
This commit is contained in:
@@ -117,16 +117,9 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
# Check reboot with Ceph rebalancing disabled
|
# Reboot with Ceph rebalancing disabled
|
||||||
##########################################################
|
##########################################################
|
||||||
|
|
||||||
- name: Check reboot requirement
|
|
||||||
ansible.builtin.stat:
|
|
||||||
path: /var/run/reboot-required
|
|
||||||
register: reboot_required
|
|
||||||
|
|
||||||
- when: reboot_required.stat.exists
|
|
||||||
block:
|
|
||||||
- name: Disable Ceph rebalancing
|
- name: Disable Ceph rebalancing
|
||||||
ansible.builtin.command: ceph osd set noout
|
ansible.builtin.command: ceph osd set noout
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user