Skip to content

Commit

Permalink
adding more details to ansible to get ready for nfs and isci using de…
Browse files Browse the repository at this point in the history
…mocratic-csi.
  • Loading branch information
samuel-messing committed Dec 23, 2023
1 parent 7f4321c commit dbabc54
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions ansible/playbooks/cluster-prepare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit dbabc54

Please sign in to comment.