Add iscsi role and docs

Since iscsi supports luks + btrfs over the network and makes for an
amazing networked backup drive we should include that in our default
config.
This commit is contained in:
ducoterra
2022-02-04 13:50:42 -05:00
parent dca1e8522f
commit 0532a8157a
11 changed files with 172 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
---
# tasks file for ansible/arch_iscsi
- name: open-iscsi installed
community.general.pacman:
name: open-iscsi
state: present
- name: Perform a discovery on freenas.dnet and show available target nodes
community.general.open_iscsi:
show_nodes: yes
discover: yes
portal: freenas.dnet
- name: Enable automatic login for freenas.dnet
community.general.open_iscsi:
login: true
portal: freenas.dnet
auto_portal_startup: true
target: iqn.2022-02.freenas.dnet:manjaro-backup