diff --git a/ansible/playbooks/cluster-prepare.yaml b/ansible/playbooks/cluster-prepare.yaml index 19e8f90..c02a74c 100644 --- a/ansible/playbooks/cluster-prepare.yaml +++ b/ansible/playbooks/cluster-prepare.yaml @@ -94,11 +94,6 @@ - name: iSCSI Multipath Configuration notify: Reboot block: - - name: Remove existing /etc/multipath.conf - ansible.builtin.file: - attributes: -i - path: /etc/multipath.conf - state: absent - name: Add custom /etc/multipath.conf ansible.builtin.copy: attributes: +i @@ -109,6 +104,14 @@ user_friendly_names yes find_multipaths yes } + - name: Enable multipath-tools + ansible.builtin.systemd_service: + state: started + name: multipath-tools + - name: Enable open-iscsi + ansible.builtin.systemd_service: + state: started + name: open-iscsi - name: System Configuration notify: Reboot