From dbabc54d938cf657bcaa5442a93ae31124fbe2cf Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 23 Dec 2023 16:03:26 -0500 Subject: [PATCH] adding more details to ansible to get ready for nfs and isci using democratic-csi. --- ansible/playbooks/cluster-prepare.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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