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:
@@ -18,3 +18,15 @@
|
|||||||
auto_portal_startup: true
|
auto_portal_startup: true
|
||||||
target: iqn.2022-02.freenas.dnet:manjaro-backup
|
target: iqn.2022-02.freenas.dnet:manjaro-backup
|
||||||
become: yes
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user