refactor(infra): reorganize docker host VMs and service assignments

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-05-07 00:02:30 +02:00
parent de62327fde
commit 6ff1ccecd0
11 changed files with 86 additions and 49 deletions

View File

@@ -1,11 +1,17 @@
$ANSIBLE_VAULT;1.1;AES256
33366337663238336235656339393633373761396661346339366239353538636534656237363630
6538326333356531366139333439336164323136336162650a656161633533323339353066313862
63653666656134633039386331376133333638643531383061303235393530343461626530613365
3435313536396130360a623063343263616166333562323063393935363034323132353330396139
30353536383237656130663430663838383263613631373064326637353335616631363161313162
64613634303632343236666339393230353531333334646135376364383030336266613563366333
30333331333333613565666530646462656161613031633931666637656537303765623837303230
36653664393838663330633333326539636634666531343031383133333634376262366563336463
37306561323865316630636661623732626635323233363463613130363939306466316632643836
3763353161366531386565393032383763363334326530373762
66386330343432366236303530313838613830376162613265346533336232393838323136306433
6631643363643761313164376132386433623137386539360a333263393236616432616439613733
33653832333534333563623164616164663034303331373135633665636230333035373262656338
3038383463366466640a666264653332616637616661376666303331353333383833323538633666
30656266353439366461636162336266356433336438393134326166343934353933633131343163
61643233616166316236636333633136353830626265343834333937353361363962656463656538
32336435643531613936343136663632386564373764306333323262306432626237323434336333
35323365326432616563663936623630386436336364323530613137636434653138383539623166
32326436643861366536393937343863653032336334333739653434346263393364666565316563
63353634313033316265666235366339653366363031343230313035336535643361616233646535
65396162326230656162313535646539663830646637623939613365363534663434343532653465
31613066353565626137363232386263666134613335656333616565643339386231646664343134
36333765366632386133313835306332646565353238633233613237343330316564343437313963
61636662353936323237393831326138363263306130633461323437616430323234646666313935
32643466323064623630363962316438386232333238633839613035643933633263663161316563
63616638313534643632

View File

@@ -1,7 +1,7 @@
vms:
- name: "docker-host11"
- name: "docker-host10"
node: "inko"
vmid: 311
vmid: 410
cores: 2
memory: 4096 # in MiB
net:
@@ -10,9 +10,22 @@ vms:
ciuser: "{{ user }}"
sshkeys: "{{ pubkey }}"
disk_size: 128 # in Gb
- name: "docker-host12"
- name: "docker-host11"
node: "lulu"
vmid: 312
vmid: 411
cores: 2
memory: 4096 # in MiB
net:
net0: "virtio,bridge=vmbr0,firewall=1"
boot_image: "{{ proxmox_cloud_init_images.ubuntu.name }}"
ciuser: "{{ user }}"
sshkeys: "{{ pubkey }}"
disk_size: 128 # in Gb
hostpci:
hostpci0: "0000:00:02.0"
- name: "docker-host12"
node: "naruto01"
vmid: 412
cores: 2
memory: 4096 # in MiB
net:
@@ -21,5 +34,3 @@ vms:
ciuser: "{{ user }}"
sshkeys: "{{ pubkey }}"
disk_size: 128 # in Gb
# hostpci:
# hostpci0: "0000:00:02.0"