From 77f67a36bc1076973082ded1d65096e4c5d25a82 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Tue, 6 Jun 2023 09:57:27 +0200 Subject: [PATCH] feat: added lb host --- deploy.yml | 5 +++- host_files/ssh/lb/ssh_host_ed25519_key | 25 ++++++++++++++++ .../ssh/lb/ssh_host_ed25519_key-cert.pub | 30 +++++++++++++++++++ host_files/ssh/lb/ssh_host_ed25519_key.pub | 10 +++++++ hosts.yml | 25 ++++++++++++++++ 5 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 host_files/ssh/lb/ssh_host_ed25519_key create mode 100644 host_files/ssh/lb/ssh_host_ed25519_key-cert.pub create mode 100644 host_files/ssh/lb/ssh_host_ed25519_key.pub diff --git a/deploy.yml b/deploy.yml index 5f40de2..e8ca690 100644 --- a/deploy.yml +++ b/deploy.yml @@ -22,8 +22,9 @@ - narwhal - snitch - suricata - # - pikvm + - pikvm - kitchen + - lb become: true roles: - repos @@ -86,6 +87,7 @@ - suricata - pikvm - kitchen + - lb become: true roles: - users @@ -108,6 +110,7 @@ - narwhal - suricata - kitchen + - lb become: true roles: - quality_of_life diff --git a/host_files/ssh/lb/ssh_host_ed25519_key b/host_files/ssh/lb/ssh_host_ed25519_key new file mode 100644 index 0000000..1fd1346 --- /dev/null +++ b/host_files/ssh/lb/ssh_host_ed25519_key @@ -0,0 +1,25 @@ +$ANSIBLE_VAULT;1.1;AES256 +35373664663635633235666135336335333166323434653839316661383562333465393462636566 +6439373664343633646531633466336433383332316133330a653961303666623738666465663130 +36663262383633353633633466636532636263623863623264333535613065626562626433643530 +3064373166653233390a313836666131663639323163346536333762626338363835336337343932 +30623138336233653066363536353730633432343533353966313361646631623239353364376632 +37616266303436383838626435666334376561396464343162646565313533333430313339616139 +37396163646536343864326131323366653131363333633564353935653663376338656131633762 +33356530656333613630636363613139643236333730656233326665336532303830333736393963 +64666437356163313231383439363030623463353137613664306563326133306363363435656135 +39353430316563636438366362323161613237663565373336306230343562386663656135383936 +64366637343163646261376433353830613161313035376462316633326462366365393466616366 +39376662373133343866386131363335643537633534363038316537346334626231346437356538 +34663030343861376638626464626236616665363838666365376235333738626232383933346432 +33373661663735323163326663366665663030363166656431326532643063356131323434636433 +33313832376532626438643839666338366166383031386535653431623965636338393235656365 +63313761626662316331623261633664383331633065353332663831323839626437336333653263 +35393131343735643632316265343161306338666265353638303839356637643238363538616533 +61386266626536636563383866656239386664313661316539643931643435336166393633386433 +33323438623834323963333666393363333664643963396361326431656266366137353265326430 +65646262613762356639626463383836393430396666653737316439336437343132303163366434 +66646635663938346461616134343232653639646234376539663561636364653737396662666139 +31373830343039373432353937356362393538633062663931653531396161323264376232656338 +33333264313338633031393666613237636333383063663764643835303263333361613764633338 +30336132666563623037 diff --git a/host_files/ssh/lb/ssh_host_ed25519_key-cert.pub b/host_files/ssh/lb/ssh_host_ed25519_key-cert.pub new file mode 100644 index 0000000..acdbfe3 --- /dev/null +++ b/host_files/ssh/lb/ssh_host_ed25519_key-cert.pub @@ -0,0 +1,30 @@ +$ANSIBLE_VAULT;1.1;AES256 +66333034323163643837303061386338353965343661323231343666626233623461356533373539 +3661346331363964373733633131353665353432623234380a636366313463633131613032393963 +64333466653262663935646138373365613361343563336238393133616363653532343439613766 +3664616639646166340a633236313031643533646432343839386433383931666561633030366132 +37323337333038383336343532393965623765376264623563373632646163373463356539393634 +66376135303538633261343231376532333764333339383838323764383361643330363139383335 +30326465653836633861653738343365646435393065333237336136333765666138613231646466 +38346239356137343935636437336436633235383237343663663164646232376535366139326236 +62653261373132646438363438316236623262323666633762666235333564656539616334626161 +64303933343430383961636134613232633731393331323630616634353137333262336566633830 +33393064313363353534333338653634633465663938363238366663333061376466653132373039 +63306136636639336366623164616233323938633138336466613537643431373262656664666238 +63313264383732353265623731643338626533303062363362363036353639393036366364613730 +35353663663831373433633030613033623762323066373739353732636337623132653762353664 +39303161353632313038666434313631313730303039643930316234316638656530613763336132 +39313136613139313061646464623335633438613162346532643836623539323962633062333534 +36366635383861633666353761383037363663616338376232323261373933376634383831366263 +35313861643230626531333730656535396637353236653538316231663038323930643233333730 +61353336666437353466373130636331666637353365353764383839316439393935626234393337 +34353934333062623138316264326435313366326539303731663034646262333064333361313065 +66613364643338313530656533363737303735346230386334323733363234306136653731333564 +39336335343363666132643766366434316338343637653134383235643339343563643836333936 +30653831333933346633386131303639643261663430303833366337663165653934316339656566 +63373338663864633936336236303966336662353333626663373231616662366262336434323333 +33333264653263663239636333663237336563376466613730663465623462386539396434393964 +61656337666661386432313036333762313364646539396438366134386235656366663361643463 +38323837646566643162356339643566383161363964643935323835346632303066646662643335 +61663530333365366164343434633038633332323331633134393666393937623236376331313335 +31323938373437346566393731633963333838393730373637643431633762306463 diff --git a/host_files/ssh/lb/ssh_host_ed25519_key.pub b/host_files/ssh/lb/ssh_host_ed25519_key.pub new file mode 100644 index 0000000..346f09a --- /dev/null +++ b/host_files/ssh/lb/ssh_host_ed25519_key.pub @@ -0,0 +1,10 @@ +$ANSIBLE_VAULT;1.1;AES256 +34333838643734343438626331323830626265666335633661363664626135343131613936363462 +3230303233373266616236386134396535663938323366650a316562616431343266313461343534 +33653037306631323332396636363538653561663365643436616262646439373362633839656462 +6262333135336231350a323939646533343064393866303865383534636265316330383537613734 +35653366663539356262306433643433636664616633623063383036666338613066616633626138 +33616666393435313536646535643661386634653132303230356565376432323934363965623831 +37303532303339396136396661623561353133633164336230346333666331343038333261386533 +36323732346431393162333032643735343463316366323563396364376563306537653738653432 +6366 diff --git a/hosts.yml b/hosts.yml index ce7a051..0524446 100644 --- a/hosts.yml +++ b/hosts.yml @@ -64,6 +64,31 @@ all: opts: "noauto,ro" passno: "0" + lb: + ansible_host: lb + ansible_user: ansible + ansible_port: 22 + ansible_python_interpreter: /usr/bin/python3 + ansible_become_method: doas + alpine_mode: diskless + alpine_version: v3.18 + alpine_repos: + - main + - community + lbu_media: mmcblk0p2 + apk_cache_dir: /media/mmcblk0p2/cache + mounts: + - src: "/dev/mmcblk0p1" + path: "/media/mmcblk0p1" + fstype: "vfat" + opts: "noauto,ro" + passno: "0" + - src: "/dev/mmcblk0p2" + path: "/media/mmcblk0p2" + fstype: "ext4" + opts: "noauto,ro" + passno: "0" + suricata: ansible_host: suricata ansible_user: ansible