From a286b755fedb9a27e75aae6c6d39bbc410c0d675 Mon Sep 17 00:00:00 2001 From: Lino Silva Date: Mon, 20 Apr 2026 16:25:30 +0100 Subject: [PATCH] feat: Added `apps-2` VM --- ansible/inventories/group_vars/all/vault.yml | 104 +++++++++---------- ansible/inventories/group_vars/all/vms.yml | 11 ++ ansible/inventories/production.yml | 2 + ansible/playbooks/configure_vms.yml | 13 ++- 4 files changed, 77 insertions(+), 53 deletions(-) diff --git a/ansible/inventories/group_vars/all/vault.yml b/ansible/inventories/group_vars/all/vault.yml index 77020e3..151468d 100644 --- a/ansible/inventories/group_vars/all/vault.yml +++ b/ansible/inventories/group_vars/all/vault.yml @@ -1,53 +1,53 @@ $ANSIBLE_VAULT;1.1;AES256 -33346333343637663032363331303231316234346636353763653039383662343730356335353730 -6466653064643530393338663130613238343733646366350a666333636337356362393033393639 -30636331653939323336313638623235393632663963303834613430386135633134343465383738 -6139633438383937320a353536643230383439323339316638366464336636353164646232373839 -35323165636364363238366431383663303430316130653366643263376238316137666665376366 -61653937626264396531356639373865393962616565353265353366666133386266623638613138 -38316632363065613234306661313431663639393862316630323064376236663332313130633465 -37396136313032613932616664653239346265323135316131323735306638356664373336376231 -34376565343531393831323438303563333463373437636535636162373830386135346164333264 -37633264653932636639316161306637326361313530313365633335633937333832326130343532 -39333739313364353539313262646364323931346436393633343063666238623363646338663862 -37376565663636663166323030626133313065346135666439613032616135663136663062653032 -34616433646266313462326261323166313566386266653962663435656232303036363235373632 -32626461663936353236623564633366383366636666386236633766646439333161393438653661 -39633362313337616139373663326364353534386231636561366664363862363833613133373031 -30626664336166373938643935343138326564343036333266336331626638613238306262326261 -30666265643435633565303365623633326466653837643633653934646638383736653365653730 -66613365343730643635323032646363633934313263316534313263303533383865613636616266 -66323435363037336239643366373534653434343063623130393437393633306130356666333339 -30633533353563643832633064653165363563356436626637353833643064323432346131373230 -32346433653332623535343366306662623638326462616463376333663830663039366235313766 -31323665393964363262363366313764363965353439363865323464623632313833333235306237 -30363937646335303066343934306130313330653266383239646462636364306439636163393634 -65653638666239363737653632316536333535333134616664343665343030313637643333393963 -38306338333033313064333339393239343631643563623765663362353764323661366161636138 -30366166353364373139616562623634316432613662363539613765336335326266666666356332 -34653263316663636530323431353562643833373935306264333565363832643030646433326263 -38643462666237376331643037316232623664653333386433636566656366666430363337616130 -31383730306563386465383531366462363266333437323831393561363665663231346362363665 -35333836653931343161653261656265643732353837666337393835363536353937646561396365 -64363463326435386330343937323934356366343434323964306131363133633434303266636563 -39393463333539306262323239663033633830336433663931653433393030626633316564343737 -31626461316234623965316339343434646561636164343037356566623366626636326663623533 -63646166383835306430333965346234363334646534323566623430633865373837353763626663 -37363461656430623739366664613832346135333535393531623762656566616137303439323039 -63613436366161616263396464316231333535346561666631366464666433643031653231316464 -62626363346335663639623366396634373664643965393339636336616139616431653830306331 -37633439306365333961356336653637656661643763353032653063336430393638653830313439 -62396632316166356131316438643164386466623162663661383834346633656265396438666231 -61663332366634623032323836366235613933363964366665643330366466306434356232396330 -39636163653536396365336631366633313830633631383333383338333964613034623935666663 -66346434326630333630326333663462376431306432633466356166306532616530633262626231 -36653936333134643832343865366333623939656539386534346430646330616431376366363265 -33353132336562613139383264396462353234303533353263343433626566366263393134356666 -65343633663261626138333665323238623239363364646436336639333636663236396162376164 -62356534323663353832653466393837353931636232353331386534323934633336623039316662 -30646432613761623966623033393533633235396431353631663364653461393464353738663031 -63653931366633323966313664333562613263663239333937626536333662666538643736663034 -38316365333033333130643931333331373662326639316266363436656365646262613433376336 -31376663326563323637313339396263376231333230643238326339663239633463303435653035 -39343533636234326262323330663736326431353637343663636165663935313236316337336463 -33373033653435313235 +63666330376531356135326331306565336237626132383934313666636134366436383831393730 +3330643462346434663536383231646364613963373833360a386237306230636131313464363636 +66383366616436633538363430383530613635333462383431643438643962633833363632366438 +3063323965363031360a353662366435323263356235333633306161363664373738313830333562 +36383637363465396161313332316262383132313061356461626331623134653136353566333539 +39626662663539303337306662666131653738633666393434336338616561353061316132653666 +39313537636561396466646366653366663134386564643036613465623061323261343532373037 +39663931326339636533323631333661643736663066643262383766623163333234336364626165 +36333536313332613966303838393262616335343563643965363664653334613330356134353362 +30643636323661666463393564393434383436346636616333626464306261346337623063306136 +33353034386566323366343739626533323735333638313261336666663964633665313962383364 +65326536333462303637376265366532623435336363346230366631313663366234616436363161 +65663932303138623865306163656464613039643936313532396135393966333632333235636461 +65656636666339303365663766323434633032376561333939306336643563653832306362313134 +64616438393235623964356132626231646539333065663334346139353232663263323331643064 +35636563613836376666643664636265626530363235373265306163386331633631313161346133 +64633038306335373236646632356238343763636433623938373064383834346361316232643830 +64316663653638386466313336666164343036373231623066663033336365303934626236633238 +62643032303863366436313934316563346364383536636236633232656164643032653530376665 +30326639646632346638636232626431396536346165656539343535313266666665336366373333 +31333930656330653031656236316261663366396434353063663831643464663134623063386333 +37386431393336396362373834303135663631343366666333613331333136303134656231343530 +64316562663362656662613932393136383837666666316438393235316666323063373732666334 +38356162396630363430633166306566626131643734636536633264336632323734333163306535 +36633965376362373733616635656565636164636562386566643231363835656634343235373838 +34333730353935643935626366656133353330316165633835626333663539623665653662353138 +61363230303634653131356563376263363339613265373534383561313932616635643038363266 +31663835643830666363646635346538656665363730396366643439326537386264663666363332 +64363561623031626531663934636634313536653435663431666463386362306331353137396362 +65653039623636316338326335613164376366613266316134386163626436383539393932666436 +33633264653230663065393632653935633833313233373933326464316331646363613832633330 +30353263343433366362323365386536313535396430373966323337623830373465356437643734 +32313038323664376566656666633364363634613033376636326635343233666134363864343634 +65386538663835663539353533633931323837373738393463336337353865616439336537353933 +32353162363166353265316534643764616132656534666463363439643237396166303833303038 +66383236363738336363643832666130633464333536623134616265316663333237383739336537 +37376331326139633764353166656634323339656435663531313934376565393639316531663237 +64303931386461346632646161393061376534393539663966373562646432386134616435363261 +37356466303165356336626134313135353830316536323165323233613235643733643333613636 +63666139323931616166346566396162373637336331393034623631346437643632643938323834 +35383862653464643533663333616263633465663939633064653666353363363830393565666236 +31333663663332363533336132346666643734623131643339643865633565393262643966393734 +36663533313638386166653334623832323363636262373931356664323766666538343838313039 +39393765343430633336373966346161393130386539393366363366366163316363613038613962 +36646336396333333863326565303666373963326163393434313534333533323739623035323137 +32346535383263316332653239306633343935383166653139323036616133656638643532646634 +64333466666533363932323366353762653461336538303166626330333336616437613037363139 +63303764313330656366363630636463303461383565346262656136326362623839366531326663 +34663534343564313030613366626337336331343637343564386638653530663631613234636237 +37373064303137666263666133363865386135333038653231346562333131313233643062376265 +34646635663961393837396637383834376136323864646166656436383338623364613861663537 +39313230306465626630 diff --git a/ansible/inventories/group_vars/all/vms.yml b/ansible/inventories/group_vars/all/vms.yml index b027274..906af44 100644 --- a/ansible/inventories/group_vars/all/vms.yml +++ b/ansible/inventories/group_vars/all/vms.yml @@ -33,6 +33,17 @@ vms: network_bridge: "vmbr2" storage: nvme-2tb + apps-2: + vmid: 431 + node: yuga + template_vmid: 9004 + cores: 5 + memory: 12288 + disk: 30G + ip: 10.0.4.31 + network_bridge: "vmbr0" + storage: media + edge-1: vmid: 401 node: mipha diff --git a/ansible/inventories/production.yml b/ansible/inventories/production.yml index d885065..fa07844 100644 --- a/ansible/inventories/production.yml +++ b/ansible/inventories/production.yml @@ -22,3 +22,5 @@ all: hosts: apps-1: ansible_host: 10.0.4.30 + apps-2: + ansible_host: 10.0.4.31 diff --git a/ansible/playbooks/configure_vms.yml b/ansible/playbooks/configure_vms.yml index da36923..e9580c8 100644 --- a/ansible/playbooks/configure_vms.yml +++ b/ansible/playbooks/configure_vms.yml @@ -1,4 +1,8 @@ --- +# NOTE: Adding a komodo-periphery role to an edge means you need to +# create an onboarding key on Komodo and change its value on +# the vault + - hosts: infra become: yes roles: @@ -25,10 +29,17 @@ - docker - komodo-periphery -- hosts: apps +- hosts: apps-1 become: yes roles: - base - docker - komodo-periphery - trek + +- hosts: apps-2 + become: yes + roles: + - base + - docker + - komodo-periphery