Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • antiz/infrastructure
  • okabe/infrastructure
  • eworm/infrastructure
  • polyzen/infrastructure
  • pitastrudl/infrastructure
  • sjon/infrastructure
  • torxed/infrastructure
  • jinmiaoluo/infrastructure
  • moson/infrastructure
  • serebit/infrastructure
  • ivabus/infrastructure
  • lb-wilson/infrastructure
  • gromit/infrastructure
  • matt-1-2-3/infrastructure
  • jocke-l/infrastructure
  • alucryd/infrastructure
  • maximbaz/infrastructure
  • ainola/infrastructure
  • segaja/infrastructure
  • nl6720/infrastructure
  • peanutduck/infrastructure
  • aminvakil/infrastructure
  • xenrox/infrastructure
  • felixonmars/infrastructure
  • denisse/infrastructure
  • artafinde/infrastructure
  • jleclanche/infrastructure
  • kpcyrd/infrastructure
  • metalmatze/infrastructure
  • kevr/infrastructure
  • dvzrv/infrastructure
  • dhoppe/infrastructure
  • ekkelett/infrastructure
  • seblu/infrastructure
  • lahwaacz/infrastructure
  • klausenbusk/infrastructure
  • alerque/infrastructure
  • hashworks/infrastructure
  • foxboron/infrastructure
  • shibumi/infrastructure
  • lambdaclan/infrastructure
  • ffy00/infrastructure
  • freswa/infrastructure
  • archlinux/infrastructure
44 results
Show changes
Showing
with 101 additions and 182 deletions
$ANSIBLE_VAULT;1.1;AES256
30346332386431303038633265383139376265616139653834313438343136376438376137643634
6363303732343264323366393238643162633839333362650a633332623865346663663237663437
61343830643235343662363963316464623965656561643363616538663464633535363165613332
6364363835616335620a366539646236393864656662616663303162613636313064636434613833
65633439366461326363343164323738663733623765336436336664316235633138663862346533
35363933313639386239323332316265336532613834393263656331326562373363306330383131
61313430663764653930323061316630306164356237336232303761663538653062386635353866
31653364383230373465343430353064316664373537303932366263376236346463316563336336
66643064376138663837346133653561386437376266316566323763353965653835633039633663
39343265336164646666613463663266303230373631666339353432333463666465396561333465
373039326262313465326464653537646366
35623431626335333762636331633466383565373331396235393538393036656437336163336136
6537313536323438653338643465363463326431326563340a376361653431643633646266326563
32313333623339623836613033336634383434333938356262353062306164373931316362346165
3762393030383764390a653335373039353937336432353666366234646438316438633937336162
38346364643133663433633136346134333135656335363564633632613235633763316362373764
64643439316565626333366263646135326236373563373235366438303932323466373234336232
30386136333130323965363966663735303939616538346630353733373130373237663137353332
30393335346632656633336139613335383161353635313663353439666262656331636565376530
36386562666362386264633034303663343365356231316466646632363834363835663439613765
38393734353234333663386565363139313634313965663963613736346636336264383231363839
383730373566393565666635653564313166
$ANSIBLE_VAULT;1.1;AES256
39656664636133616262393831343665383833663161373732663339303064656337633163626436
3566356136393065353964633939343737666636623664360a666631386561346134616633623434
30623230626565636139616231633832326338656632363337346561313634633134326461313463
3833356634623136360a653062313134653534623066663061386131623431323666663835326464
65336436663635383466333930333238383262613537636633313634353063313433366632383731
36336137633364376465343165623739656166343863616535353234663864373836613164386233
35393265663661616665343937353636386663623334653933343831363535616563396466343964
37653834653237306430366464316665373862623039316537356233316238353261386431383839
34313039396333643065616238613031363466376261343836666335666464396463353933376631
34666365393632643430303635383134626532333163336231316266333463353937656662353836
61656334306335383530383835333733316266626164386436316639613634653161326366363963
37663534643831383038336534313063643666616130613639643661333038666231643932383934
65643536376561643337363864353735343535373663333936303865363831653262
39303439613730336136303364333334333466353263613231353766623238303931636437343338
3536653066346362333466363738646135633634623037300a313236653834666335366431303534
33376331396563383734656563383662643361613233613862396466356539323434386633346133
3561323461616136650a666430656130313337303063346664643336633539333663323261323230
32393730356232353037356438343334396563313132343739383861333063396235653562316131
34353533383361643665646430636535393031326663313933393234326163313131653034316232
35383035656137316461306362626232616163663661646262313932303665356632386232643234
63333365303865316630363432336532666233373635653730373265353334666134346531643565
66366365303464623665363961633463343331323339636439333231363765646239393238363334
36343035303035613434333161646130383662626138643239646665363334313161303738356164
30663163643636643566396339656432366163616235653438343763323731613436303864613564
32376133623635613234626630303165386135363234303239633830333438376333363766313462
30353333353631653262353334313239383939653639623336323962616265333466
$ANSIBLE_VAULT;1.1;AES256
63396436643333343730376365326536393737643739653232333436386637346231356437663861
6238313664386163356537363964363637663935653032340a316165346230643565616235396265
30626135323865626161333563346135623762363637616137636161353361303034313933666361
3132303564653335610a336331643733646662333263333838383362383535643736633834303266
31333731353834366463316263643764343932623136313365393939383036356538326338623763
64376138643462643137303433623439623337333261646439373162653233623031653066373835
383166653263323430646333393430646236
39383736613436343463623136363863666435323434663561363830303734626239353266313162
3637613537353934366632386133623838306531663063620a643265373435356438653437623562
65613131303961623738613864376631666436326138616438306265306333303330643033663862
3632623864383132310a363361343734623666653665613739636262663132303165653664353637
34376132303032336632333836656635653536626339323933393831333933616332383165333166
64356664353239326539323466633936316235613931393635333165373661386530343765323338
613561343138386364643839653438396437
$ANSIBLE_VAULT;1.1;AES256
33396466383935313930366561313862626233306538393832646563343039313536306464363534
6233653830383738333733666230396233626132303532310a313864373236346464353233653337
66646461356531373033393031396464663965373036663266366463333735633061646138316138
3538663833656636370a316430636238326631363937393865373836616633303564646530356530
33626639303738343137353161633735356161353839616236313565663938663539653166656262
62623565626239363766653733663361643737386239613838323537636631333431336165613639
62306166383735663732313438313234306637393237623930383561346233363064316664366234
62383166346534373863303866646562386330313932343238306232366466383165663339306633
35613534386663633034313032363765343864366634663733393666643435383064643133653630
39346563396661353666313732663538663334616166316163643536616535306336653639656431
64333532616636376661663465323763346566623830643533663533363161646234333365643134
32663437613831366339646531366234386665626231653864363138356638346139646134393865
39616535656665363434633338646334356562323432346562613562616361646262616237376632
39393264356137326335333433643266343639366630356366646165333165613331623034653462
64383930376664393938363835373131636437396330366532616262656565306161663239383566
37326164343637303764343833373764316232303039303762633861336465323864383934323538
3165
34393063376337353835303835326665373239306431386633366564323531306666353466353466
3263303431626439366262373463363339336338303131630a313964616362623134336231353563
30343966633166393634316339363639336336383033346538353137666336623162376435366435
3737373930306134300a313165343161386239346237623039376561383463313136343430633033
61613664363937343936396462366638306630633264646662303335623530613764323263373862
31353130366361633361343038393361363033376630383936316338363565666366666234623265
66666562633037366138636335643536396531633563623763333634643761363436383839653366
37376362343462333835653437393365393534656666396539646164656665343530323739306231
32323963313131373866336532333636393464636233373563666665353165633639336166336238
64343830343134363436383530633633313935643638313961363664393465333539303262363463
39616532303830343265396664623533393265333365353132663262616432613431646237646131
30636435643962373865383135623835323437666166353464613038613737393938396431303733
64373036343435323161613539616165316537313466666165363263666138393836633735396432
37303461623861653561346537616633616566653931613035366264306136353136643937623166
31326566633263356135323530376336316132663766393561623130636131386161313065613937
62323834333333633133373765383237346435326634366263303032363239343232393065343766
3963
$ANSIBLE_VAULT;1.1;AES256
63656330666262373530636561383864633939666130616362333334613138366331623030303866
3434363632333236363030663230623236343033653732610a343730316238343235663162386334
66616263316363326238313434616538313462386439633338326332306537353231366137363263
3865303131326439640a643362623166626161626364343537613939383965346264306532313530
36343966653564653137633837613237323061663239643966363539306432393733303939646263
30663230643837396361303830623731303362623863363234333636633438393933396631326464
30663034646563343635316465356631656136306635623962353735373231656364643961333731
35613433616464326336323933363164643832333935393638363339396131663964636539376430
3533
39373436313439313765383837326639363534646133636331616662313037363932303332653265
6562323534656530623563613233373431366335336236300a316639633236323439653130353438
66633461313166303933643265636139373636646534643563373364333930393532666435626234
3439613938623531310a636464616362346564663963396431393566393839333561323038353737
30323061666666316637343638393261323166646464323661373931643131656238346639323937
32616136643766383338613166623037633663646536643336363637316137663135666335663834
31333332383938613233643361373836313833363863663537636264663335313333653833663466
31366232323165626136383737663830613430613463393831343231636434343635353336366430
3466
$ANSIBLE_VAULT;1.1;AES256
37393734383433333465653531663339353262306139633039636566343235626335643030326135
3730303732663531393832666337383339306531306663320a313030613462376261623037316461
33313336653037623964346131323436373331393932306338326463653932643038333436663834
6666343266343738310a366666326464326338656435363263633834616431636237653134356232
32323466613738633663313232653661363832643766363763303439373732306435643364386365
39666330646564346637313263623430363562646535383264633435353363396662363834353130
30356661333537336139303362366537616330656636666336356332333130656635333565333835
64303837653965336535316263346466356264653566383130303434663930333832633634336163
30336131656666663563633936356465326135386265373761646161646133393534346535363332
31663339613166353964343864626231316332373433323266393037376462316439353936326638
623866663534303733323366323465616665
39653038643136343633303534356639653663316335376232336333623764316636623237646263
6333383161366431653934396661666332643337386563640a653361386564346464656136343134
37313666643862356132333932653738383365333838646437353561613039326366633330316638
3632646435623036390a393564623636663634353061316364633036316630656131366161303732
62323336393931653163646232363033643166353261393432316462323864303534366139363335
33666366653639653338656231386262373034643232306534636461393034316137643365326166
35343133303361313532653364376635663430663465643164363532636332663366653237376363
61383863626330393333643436666438353066326164356531666461666638663763376131323536
64613839303636383761616465363336663030633763663533613033646338396366663865393932
33323634376666313136653137656162373436626561616363616332363031343166376366633266
343734666439646134643432343861396130
$ANSIBLE_VAULT;1.1;AES256
62336563323762646634643633386665333866653263363636326665396132653433336635366439
6138343537306135663332306465643337333733613530390a353331666236633437666237383536
39373036373963633234663234386164373663366530323963363732393061333562363636303431
6530353331613734330a343065366162346263396262316133323362656234343036623861626164
32316337666433386162656534376533383064666365303261393534306134643831666265656637
33353239623830323039343237303164316636636431346361336437333037356635363461366434
36326365313663363939393565663535396130383961303763303461303961636639623136623039
31646630613161633835613636613339303038633961383930623165646366396361343933396464
38623937623633326463303734623738663535393332356361646136313331656135383639623866
37386332653964323636333063323439653436386436383263316465313262633532393839636633
65346336346264343730323330633333336366633065336230316234386661373235356330346339
61353835646665396363336232633733626661336361623364623433303065383131373062663965
34353033396636343165373061653834653862343962373630636630373164646139
61633966643963313831376462303539356531623063623362323830396561373565353236663933
6433303962313131383162313564386235646262366166330a653265643035613964323562353439
66666664633733636635623130306666363338373663313763643965336434303237383533373839
6366386633346431330a323665313461303437353163333436656530313039316137643865393332
62333232613831323632393530656266353261343739383837353631643533336639666438326332
38366166343164373638643634663431653861303638353531666638623031353038343134393038
39303563633166356462616266646566383634363266366534393332326266326239363433663037
30613732623934353835633037316563366536383335653734646262373332626633636462653838
64623130303162396664643132623831323630646366326437303663336238623265353430356137
66656265393265323131663466633962383537623265346632366461323263393166326666396430
31363663313165623436396663376135343834633735313039333662386235356334616233373936
63303639303534613465666463666566633665346134303439326265366263303663633739343535
6165
$ANSIBLE_VAULT;1.1;AES256
30656565643434313362333866306130643134393661383564663033653163666636343963343162
3037333534363534333632323935633832386666316661300a316266666636616666383035663861
38383733333332643439353738313762343937393936323839353734326161343835333864376366
3337333632653733610a326430313761333565323062623566366166323834393864316365376331
65626631363765613033356565346436396266366539303365626332616130376236396261636362
38646237336531316235306564353361376461356363326165666439623762396464633861616530
306331363434653935383063393665633931
33643061623037323232656339333436366662643436353531666164326335366331303162623738
3832356362313364333432616161366433396133393535630a316666636662383935343265363539
63313331383238396632623863383465393632363533613966663830396165643435646435333664
3665633863653439660a326437363636326433393065616462323362343933656461386134343633
30346231633634306466333936363932636365306262393465356436613665376237323064303164
38663130646338626338353137643436333863316634623434633838656262323132363732316464
393434616235626231666139633135306632
$ANSIBLE_VAULT;1.1;AES256
62633262613331616434383361643166396632326534376238363661343162383563633738666165
3265376465363330373030636337643838663232346331660a356536353363363837323466363066
65363737363465643633323536393261636438383336343334656439333136383934376538653466
3965373639366131330a633962366637396332363237363364383238663133323664616132303365
62653761353366623364363365633937343339386562323133353030316635376265356166343965
64333931383836306563373138383262313335663530623863666565656136653162333437333536
34346632313438386362643433373936346266353562333562303562303432316330663261303636
32363735346366323038346336386364313634356131633463373837366261623534626361636563
36656164633363396231346135643765663062656230333838343538643361383632373533306236
3261343064333737346166316562616637353330373736633634
36396233303933366133353361356662303763396139383031663232623931393339313133653238
6439656130616530343534373065616130333062343862370a646336313238383130616339323161
30623832346262383735653831306230633266343262333537346433346231643332383064646433
6533653466333564630a356237303139336233326661346265623737613861353033626138313033
34316462353230313262333431616336326637646233663835653636323635313166623631646134
65643033346466663166653566376561373039353761386563353638346437373834626162643333
38336130663333623961346137623833666431653264306431326131343261343035393738336439
63663438613861316564613063376162396634636630643563626134623563613664653161623238
39343931326262366636613633656461663831323364633164343932373338346539373237306162
3635646533356533363238366231663862616239663136383561
$ANSIBLE_VAULT;1.1;AES256
65363165363933396431326564326233616436663933353665323735306439633939626338366533
6566363035333761346631663733383662333265653163610a376235333532666330356636636165
36333734306332396137366466373039363032373334623139666532316365333164313566613933
6561383137356130310a363136326236356363303431393134366436633763313638343833643764
36616432343533636630366665613738346463393339656566366364396132376465633437666436
34643338353139346664383563366365386162623834653931363835656137376232626662393461
30353939626431336331393364636333306338373230306637653236393530643165386631383437
65316238373866646534653130626134303433343836316634313438643630323431353532363537
33323664383831656461373638316434333766343137386434616134643535633131323864363433
31373362353939366463363632623734393762626539663232643839663462393834336565303838
33303164326230663337363332343839303865346631363436383463353036323461376463333961
39663033303039366366316537326362616136303638303438343833663166373038656435343338
32356662623832623439383038656561613638366132626638653438656534366636636335626236
63333264383834396163343939366665643139626331343036373363633532643639633338326333
323366333631393762653435613365616436
---
enable_zram_swap: true
---
certbot_dns_support: true
geo_mirror_domain: "geo.mirror.pkgbuild.com"
../../host_vars/redirect.archlinux.org/vault_certbot.yml
\ No newline at end of file
---
enable_zram_swap: true
configure_network: true
dhcp: true
---
configure_network: true
---
configure_network: true
---
archweb_db_host: "{{ hostvars['archlinux.org']['wireguard_address'] }}"
geo_mirror_domain: "geo.mirror.pkgbuild.com"
# raise tcp window limits to 32MiB
tcp_rmem: "10240 87380 33554432"
......
$ANSIBLE_VAULT;1.1;AES256
38363230373165316233346438623933326461653833623532316232343134616230653033306266
3762316566373363313464396663323639373337393536350a666565373633333838306331343064
32363135346331646161313964396535316464333338613633303965326161623633373562393736
3462346437623862640a306664393064343836346330626663303739646337343466393735666330
33326335613266393538386439333532386337336231663363333137396335626461393633323038
38613465356435393561643132646165646639373466613731316666363337616239393865653932
62323837363731316130333664313531336435613566386436626165323864356533653765616338
38613430366230333033386333623266313265386562303138633339623963383466343335343931
39303136383430363066323764316466333437666433646666633630393862303139356438303037
33363466303433383864343465666533393263363835356439613466666330636138306130333063
32353939323339313437303631353838373238303836303261353834373962633262666138346434
65373836626230336365396338323466636437323864323930633631643734343939343831366166
38396264363230306564396661353534356662626130326230343562346532316466346331313936
30613937396635633532323461313739346463613830353437313662333636653233633930666664
30353639386663353930353031343735666530353835336230376134346464393566396535653339
30323166323036336433623564366163333330383764303166306463636561326533386133393063
38363934303132336239363833666533636238653263613339663638663334313839
#!/usr/bin/env python
#
# Dynamic inventory script for getting infrastructure information from hcloud
import argparse
import json
import sys
from hcloud import Client
from misc.get_key import load_vault
def parse_args():
parser = argparse.ArgumentParser(description="Hcloud dynamic inventory script")
group = parser.add_mutually_exclusive_group(required=True)
group.add_argument('--list', action='store_true')
group.add_argument('--host')
return parser.parse_args()
def get_host_details(server):
return {'ansible_host': server.public_net.ipv4.ip,
'ansible_port': 22,
'ansible_user': "root"}
def main():
args = parse_args()
loaded = load_vault('misc/vault_hetzner.yml')
client = Client(token=loaded["hetzner_cloud_api_key"])
servers = client.servers.get_all()
hostvars = {server.name: get_host_details(server) for server in servers}
if args.list:
hosts = [server.name for server in servers]
json.dump({'hcloud': hosts, '_meta': {'hostvars': hostvars}}, sys.stdout)
else:
json.dump(hostvars[args.host], sys.stdout)
if __name__ == '__main__':
main()
---
filesystem: btrfs
wireguard_address: 10.0.0.16
wireguard_public_key: 8CbVXc2+FllLpZb/sv/csHzqaOOsasJlV0gmkIzhBXo=