Start iscsi and iscsid on boot

Start iscsi and iscsid on boot so iscsi drives can be mounted on
startup.
This commit is contained in:
ducoterra
2022-02-05 17:30:31 -05:00
parent ba65f1bdf0
commit 9c8b587839

View File

@@ -18,3 +18,15 @@
auto_portal_startup: true
target: iqn.2022-02.freenas.dnet:manjaro-backup
become: yes
- name: Ensure iscsi service started
ansible.builtin.systemd:
name: iscsi
state: started
enabled: yes
become: yes
- name: Ensure iscsid service started
ansible.builtin.systemd:
name: iscsid
state: started
enabled: yes
become: yes