feat(common): added iscsi for longhorn on k3s

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-09-07 18:17:33 +02:00
parent a1da69ac98
commit 48aec11d8c
4 changed files with 16 additions and 15 deletions

View File

@@ -3,10 +3,10 @@
hosts: k3s
gather_facts: true
roles:
# - role: common
# tags:
# - common
# when: inventory_hostname in groups["k3s_server"]
- role: common
tags:
- common
when: inventory_hostname in groups["k3s_server"]
- role: k3s_server
tags:
- k3s_server

View File

@@ -14,3 +14,4 @@ common_packages:
- fd-find
- ripgrep
- nfs-common
- open-iscsi

View File

@@ -1,11 +1,11 @@
$ANSIBLE_VAULT;1.1;AES256
35346663303832663665616362333166613161356534326464386265636330356162633939343834
6362613161663862396664666362363733366436316535610a366533323361646435313831653033
35616333626663346166356663333465356631626131393739333535376539646136326532303734
6663373463326265340a366664656666636430313837666363313562646532303636626365393466
33393965663435613436393363303239633837653962353936663733313437393934383264326638
35323830343530643430643531393366653934653865346165386565633435366432336534623935
66323934373636396135333536353465626134303463666236383737366464626361346265333164
35316636343239333731356232653138656461383963346235346164373563363330366338313532
63646534303130623739386361366131303230373263343636613035653063323534356631356630
6536343535373836333739656362363033323865336665393561
37356330336365666531353535343930613161663361363461316663396338323932303531376662
3331346562383135343732386663646463373064643632330a643435313435363138386630303138
32616431636532666561306362396137366233623832326365616430313764353639393062336536
3766616231626131390a396336346465613439613439383465653864663936353930303463373563
31323938376230363239323435356438353563346638363734613364646263613139643064313866
64333131333262383662333362613563656135356433373335646438336339326165626163653338
64636438373131313339316535653433633637633530386630653966306333336566306438376233
36383430396332373165386334363833613038633862653439306564366231643939663562316538
39383134623565363365323165626365393239396438373862313766653562623938373033396265
3161613463346332643632306561363963323630363630316263

View File

@@ -26,7 +26,7 @@ vms:
hostpci:
hostpci0: "mapping=quicksync-inko01"
- name: "docker-host12"
node: "naruto01"
node: "inko01"
vmid: 412
cores: 4
memory: 8192