DEV-360: rollout k8s on prodnso

master
Görz, Friedrich 4 years ago committed by Ketelsen, Sven
parent c32750119a
commit ea2ef949c9

@ -159,7 +159,6 @@ monitor_port_elastic: "9084"
monitor_port_harbor: "9085"
monitor_port_maria: "9086"
monitor_port_postgres: "9087"
monitor_port_awx: "80"
admin_port_service: "9081"
admin_port_traefik: "9080"

@ -1,6 +0,0 @@
---
hetzner_server_type: cpx31
hetzner_server_labels: "stage={{ stage }} service=awx"
traefik_enabled: false

@ -1,6 +1,6 @@
---
hetzner_server_type: "{{ hetzner_server_type_kube_node | default('cpx21') }}"
hetzner_server_type: "{{ hetzner_server_type_kube_node | default('cpx31') }}"
hetzner_server_labels: "stage={{ stage }} service=kube_node"
docker_enabled: false

@ -326,9 +326,6 @@ grafana_signing_secret: "{{ grafana_signing_secret_vault }}"
pgadmin4_admin_username: "{{ pgadmin4_admin_email }}"
pgadmin4_admin_password: "pgadmin-admin"
awx_admin_username: "awx-admin"
awx_admin_password: "awx-admin"
management_admin_username: "management-admin"
management_admin_password: "management-admin"
management_realm_admin_username: "management-realm-admin"
@ -365,7 +362,8 @@ netgo_msteams_hook_alerting: "{{ netgo_msteams_hook_alerting_vault }}"
management_oidc_client_secret: "{{ management_oidc_client_secret_vault }}"
# smardigo automation DEV gpg key
# pub part => https://dev-gitea-01.smardigo.digital/gitea-admin/communication-keys/
# https://git.dev-at.de/smardigo-hetzner/communication-keys/
# push mirror: https://dev-gitea-01.smardigo.digital/gitea-admin/communication-keys/
gpg_key_smardigo_automation__private: '{{ gpg_key_smardigo_automation__private__vault }}'
# TODO Upgrade dev state for containerd usage

File diff suppressed because it is too large Load Diff

@ -158,7 +158,7 @@ shared_service_mail_hostname: "{{ stage }}-mail-01.{{ domain }}"
shared_service_gitea_hostname: "{{ stage }}-gitea-01.{{ domain }}"
shared_service_redis_hostname: "{{ stage }}-redis-01.{{ domain }}"
shared_service_kube_argocd_hostname: "{{ stage }}-kube-argocd.{{ domain }}"
shared_service_kube_awx_hostname: "{{ stage }}-awx-01.{{ domain }}"
shared_service_kube_awx_hostname: "{{ stage }}-kube-awx.{{ domain }}"
shared_service_kube_prometheus_hostname: "{{ stage }}-kube-prometheus.{{ domain }}"
shared_service_kube_jaeger_collector_hostname: "{{ stage }}-kube-jaeger-collector.{{ domain }}"
shared_service_pdns_hostname: "{{ stage }}-pdns-01.{{ domain }}"
@ -326,9 +326,6 @@ grafana_signing_secret: "{{ grafana_signing_secret_vault }}"
pgadmin4_admin_username: "{{ pgadmin4_admin_email }}"
pgadmin4_admin_password: "{{ pgadmin4_admin_password_vault }}"
awx_admin_username: "awx-admin"
awx_admin_password: "{{ awx_admin_password_vault }}"
management_admin_username: "management-admin"
management_admin_password: "{{ management_admin_password_vault }}"
management_realm_admin_username: "management-realm-admin"
@ -363,3 +360,8 @@ netgo_msteams_hook_cd: "{{ netgo_msteams_hook_cd_vault }}"
netgo_msteams_hook_alerting: "{{ netgo_msteams_hook_alerting_vault }}"
management_oidc_client_secret: "{{ management_oidc_client_secret_vault }}"
# smardigo automation PRODNSO gpg key
# https://git.dev-at.de/smardigo-hetzner/communication-keys/
# push mirror: https://prodnso-gitea-01.smardigo.digital/gitea-admin/communication-keys/
gpg_key_smardigo_automation__private: '{{ gpg_key_smardigo_automation__private__vault }}'

@ -1,276 +1,643 @@
$ANSIBLE_VAULT;1.1;AES256
64353039353738343666343737313663343239663838326661356632386563316638323332363061
3462303032663535626633623839616663316366623163660a393531626332386337373430356262
32326531346630373938663862616438323764633230323234623639643164323564363030383838
3663643237346562340a313330613937313364633339393961343162306263323163333430633835
63343738636338636637623764336437343165323564623630323531353362383139383935313532
66613564623061646531326436613238643432373535323634646362346432383965333761663730
36633739336437613433326232616663663238393437383639623663396665313730396539636135
30376261323733313233353566626365656236313062623339653466363962336363373634396439
33393463393761373032303365343035343438633161306163393931363239616230636536643339
33623162383734646432313532316233616464653932353562343033663931366436343431616232
64346530306466613730653334313962333264336363363763646639383133356239316235313964
63616565346461396138626439356231623734313233363137626231396532613237623065623834
36613763666263306463613938633363343263653361353338353438373566366434643436303033
65336634336664353966646634313165353835663035633233383533313334343366383932376436
38353635333735666164616333656664646534333562336262336265656636346539363531363936
36323034643535616333393734643732343031623232343035646462326362666237333333353939
31303335636532636234323364343065306362353532353532363337386238383364376132313336
32656232623135323963623432316265643165333431303437316334316633353664396266303639
64626434363163366238343164643462393931376361663465383165663037396563343762386165
37643930616330653066363965653033303739326138643233626361663837643832396461633532
37306462656664633035303238356136616561656465633136383732636266383037323538333339
37633135363037366636373835396332626239313032333433616239333439363939396661306364
39383732386337306666616236633338353534616466653331303166313533356462363634663832
38386339663963393632636162343863633832306231663262316162333530353262306635323531
66396332666236633535616338383066383661346363626465346465336334363236323364613831
61396336313539626566386632646237323733373963393165396465636432386537376434633662
34326335366538363262313535636365326164643463653161666233646164396234366262383433
66393261333839343262613766373264316664343433613466366336663466373661323463363535
32366161386133333561326561343935323263303565633531646135393639363861303931396131
66316534396361663437386261363938383739393839613462333234393138373333623635643530
63656531623730303734623566623338623263336134616666333939323965316232366338343064
39313539376330343463336361313964613431626562396533306365633934623539656234643264
30386232303266346637663063373831666162313935666634643563386238663061373934666636
36373331616239633135666232633066336537306666376161373438313633363731353934316164
63353765643533396262353334663661313733363266633165656130663738393238383733646336
64303438616132306338336162313837613530336432653438373034316539636531613135643765
39333632666631373965653630366166663530626335636361633166356362323965336135396132
37623638656438323133313764636134333663386331383731363861333233626266363263313361
39323661643836383637323439313566353262643731616138306562326262326234653831323330
34316338383136613131373139383864343162666131616337643864373433353433626462353033
35663431363163343837646561373736303439313061616336303839333430626139333263353563
30383833653033336434356634616361303431633038343036653430306231393961353733643135
32646139623238333165363038393834663238303835666561326265303565393434383831343165
33373465656265316665326163626161383362326437633765626136316364666666383937616531
30373536366263653465376165313166626436316566376562646232353131613562316533636335
34343061393833653263383335623539626331613236353534313133346562653965313739333737
36613831336434363364303962343839393830643738666361363637666666623232306430633732
36393730313236653230373664643931326566353035653161663664366233616363653363323861
39653836666537323864383130636431326236333961663736623563646238333938386336643831
64663434333930363636376234623436333234313466326238393666346430336537316334353966
62386331373534353036323539626663373937336139666537323430643431616465383534343231
62666430326230393161623062383632373737393765323365313530336434323939346239306239
61323064623365343932333233613433353963366631643965373632646533663634653637383035
39376566633331343432346335383933396638613466623463323763323837323835323464306336
65623936613666616238393963313035313863323832616137623763613333396430306237386637
37636366643430316330663538653731326139633031386539396365306430623235653733616365
36643736396533623166303932323538343431343836363139306432313339643361643231333466
34336666353361303139343138623839396663326534353634643837373866373338366637363635
39633338393237626239336439666431396561393063643162633931613932396135656365643130
35326461346330396239373330653962383237626662353462633734356163383331373863323062
65636161656364653530636336323035363235663030663839333161326236326434636564663961
66663666386536643363336232313938343066373861323263353535316132346435333936383762
31326434616439363230663037363330626137333437653062663934343634343236373837393531
62376435626233656537353466343932323832613462393830373939616132633233633035613535
63626530313563316536316233343932663830303130303833326432336638623730316661353465
37663864386437646432666166353430653465623164353436636230386361666530396462313937
38623237373064383565613563613532326263336131303739316233363636623062383730373034
35323238383564333265333762666462303664313735383837616532666563313261386138336635
62623039326338343734643431656162653530663239376264323162336434343663633531313564
61663036346538396332333063333362613734643261316465306266663262626239616430643938
30306130353264343839333431393431643565356362376634353962313262363337643034653936
31333532643636393635626337613465333834376264363539383632363263396339623662306562
31663262303338393431313133356238303637383762353634303466373566643666326238663466
30636139336566616261323562383262663439633165393633613162313766653163316139333735
30396465663233663038663865656362356165323138663738646534383134383634646164636465
65636530356234386464363630353837666363323164343239623933333330323864366432393536
66633439303234656339636165613034336265363134363730393632623139353961313438306635
63363662616330633866653439626431306532393038333134353833303063353632643238333930
35326635323134623630316638663533653138653136383739376234333863356534346464623630
35646663313136393638653035653263326464626633323735663433383836336361363861616130
61396636383737646435643235376637353961633062386337633565643161613964383362653961
38613637623332613535313034343838373530383635643432656537333462333966313831356632
65313261343763353638653665353831363037353364366335316463343937623633386237646261
34326663653261356463383938373336656364393462313439646635383432353865636362316333
65633830376164316133353935616531366163383434656234353038336265376632356439633365
31373939346231623735633232326566303964633634363762323463373839336234356161376331
66386432336465313663393261343535316231653336303738343739306361326136393564346365
30373436393631303761323762373231353861396662376137323733623561313839326538336237
31653734666433313034316636376363366364623361313335316531626335643161613533643037
62613861323337643866313032303535346532616531393664316338323965396464636261343231
31383135353964353165663563303266353963663565316630666131666239363639383261636263
36393638363162393562633336386263643365356561303339353665386537313937343762393038
66316539613064636636383866303362363863316563663761633165373263373061306138616335
36326165623437316163396664366330383932633732616639636538356533633161623933383939
37303935366532316565323834383436313137346337333461626633316366663666373832323965
66303434643964306336303937326331376263333336333934393336653835396561633330353831
64653765356161386234616463326363626639613838393938616134336331303863353733306430
63623464643538396236653166636262316632353062363430393333613030616563613266313263
61306337616539653839613132393537633837383239643938363737313863666161383138353063
64393464636264383830333962393638363035643865343261323731623462356237333333626136
36643561343564633337316162343634313438323533343632623135333936363331353361366435
33646632366262336638386165336136303166323539396630313163363961343033323735363264
32646264643366326539393532633237646365326362653632633835636534383930613830343436
64616661346265323037366564356235666132353536656264363939313262346133363838653539
65333263363361363333666636363131326635346332346438353435653839306337393835343462
35323062383138326234333365306139323232323039316130313564306633623934656534643061
65643535636666353962333162383039353866373433636464353032613438333262613134646536
64633037346639366461333031363266633131313533303030643366643964326138323330353332
33393964646537363462336430303636333430363433393632613730363133633435386430333033
36336432356235336161393062346665346163653266303830306236663361646562313037353033
37316233373635313036666536633263373961323666343262663439313438663765663335323964
35313833353531616334336364386665623931383966386331386235376535653231656364396133
65643537643364376134623664343531326362333239353336373032363436343333653865666338
35613732623564343464346432333763356637383864666538646637653030306632363962323762
33346363643232343231313266363163613861303737643930653135626334343430333864346163
33386566363531336435653833366232313239323638316239336664323565653837623765656232
61353066656436636233626366646563303462633932373463626165373635653238393933656139
38356364376563613934653836613334643865623063656632643436363362363935646561323561
34353936333639623330393363393835303234343636663332663033336633316266656330373732
31396630313032633761386464306262613161666131366235333266353334303933316362646131
35643837356261343634383362336139383633386636356165626636353234326532303466626661
62316336336133623561393630656136356233653537313162336161646435393663653636333962
35366538353838303638633639393139343538636363393836363834376531363764373039626138
39376166346364306135626435363164646332613635633432383663343030653763356637633639
66333266653334626365636161653061373637646566343632623335613565323465653835313763
34666133643136396531663562663836393038666364633238333631633631646463316461613639
33383864303166383731626137363439356132643033323137626463306531323761373131363161
36383663346136323565393966376361326432363135613030363234336663313732303931326637
31326433656566386233323832623630323763323465633033613036636262306130633238383532
33663463313463383864306431313235663766613937653733373835353232356366613663656162
66613362303431663436363132366135303035383435623733666235373732323363383731663662
62666363363031393634633764373766633035326631336131383738653862626530343535333335
62323762313338613366646434613434633966663538386137626433383136613536663734613639
37626564363966343430653135353239653262643134366236656138383034623039666631636161
63646364643561353236383132396331643037643330646337643133386136343832383834383361
36336433323164343439303937373161343633653731356230393562303834326533653338356339
63383230373339346135313764336438623264623162646638616365643631623238666463633136
34653533383030393734626137313632343962393034633231623266646237636630333239613032
66303630326330646636343932636530313338326630663361653363373734376166323436326662
62306538306537396365663663343938343631623338313032656538666331623461323931643366
35356363623965366336646263313434326562393631313436613861313264643164616566313762
30373966323964363065343733383634346566316431663261303661363732393365643764306138
66343764373061383664643830643964316239336439646534646430303838653465643632336562
61336662313938333464663062313465323633653162366338363935636636393437633133366237
31626566383535643532323235393964343461343034336530363339393430356337666638373361
36376334633461383938396362333662626436323531366264663430366135633232666334656563
62353836613763386437353539326666323438646536623164386230633461326331386365373862
62613638666363363165633035353734643436313366393632633733373466613565623236663933
32626365373139333238636634316662386262623936306562393731636439316134353964656264
33623666643531663934626564353232306333323538633363633061373738643833353665623436
39626664323063303433333430306536363962383365306164613837356561356533386662313939
34396231363838343635656632363565666433323361336462363039313461636330373734653738
61323834373365626230366138623533333634356337346561343930393832623165353630623265
33306339383366616166356336666564313564666331663561333738323162636531613534343461
37373832346633346437313532366137386335396234613464356537633463656534613764656362
63323337366361393264623138393132323964373635663635353032313437353565396139393462
64346535313436646633646439336333306432353734376562316432653937666234303764383139
32636238663362666338306436343736343435366237643764323638633033333266306134393033
37626532343366383964656439393236643866356438306464646532613465653434353632336362
31326138326234373063336134336132383861366632643130313939656631373261343338643530
31383937366134393161623132313039383962336463333135373532326461393533623834373536
66343764383166336261313937303464326438363834393635336234336464393937343633303432
35306430653134323132396530626137386532633735343931356366663638633735303439633234
34396534336362343262363538363036346138333263323335336564303331353966343036646138
39396331623034373162313664323734386261336462386265623639656533396235336134323531
36383462313533326633326634373734363661663164663236613165376139613365356665346530
39396464316263643431663737623536666530663931336161316439376165353564323930623434
39663265383162353363383363663661376530663461323166386335393739636231396665326161
36646561333634613961623034326534356166356533353030393965616563636566343761336435
38313531306132666663646234656265333030616361623364356461383965376662316637333732
65366162396635313739363836346338303537376132656132393634373038643835363434386663
38313935303231356335393163616462613932356262663064656164396364643430396630353163
33343763336436346134643864623066336134383134636637363130623665396335366139643936
36303764343534396539386232643064616466643566383762356336333738316236363265386432
61356564633632306539386435613464336563323164363837323466383838353437653231373530
36663630653639323663343935616132633535323730356466626230383461653465326361376536
30623339666264633036336461333161373336393933633237393364346133396431353563636664
35663030643935636131633538656266306231663265373930326537393134326161323137373036
66333932646630386636306362363532313231313336306334643337663533653335626134373233
39323339323136383639386565376461653237326236326535326334666237646230646232616463
63616362386434303838636564613338386437336634393264623131393935353739343132386132
35393632353131666233666164613735346632313066353335313333363230316463616530336333
61633237616236396265633035643839623836353165373830333835306261633132636636316565
35396530656661363138636334336632393432393735666337666138373466373965313531373866
31623433336462396662313165336463613332656263663230363537623239663636393735643864
34373839626339313565383761313963316337393531323766666465303866323235333631393964
30306537666534323434613965313234333836373430633938616536633163313933623633396265
39623932333034623530393632366536393732383833346461353964323539333466376361646237
39626466383561323266343133353134623435633263356231623666393239643764336439623036
36653362373666646336356239373934636434323935383038326561313639313731666433336333
36386265616364636361633733353534646538626630303535613134623635656666316161323036
38343831633066383438393137616534623531343762646163306630633131393962383739653932
35383136663937363062636132383935646438316563373139663563363032383235346265316337
62366531626233373038663163636430666132643466623737663063343137616532323466636530
36396361353935336265373863656435666531663733666130643230663831363235333561653438
64336533306263376266386432343035626238373431623235306634643737393962616333323562
64363833633930383534613363656661343433393336633862306465343264376539633463346138
39376365383662633332313030333764323333623765393032306539663761666365306538366135
34636530346535313261353831306536623761613363653634393463303035353336323037656333
66646364366562663134306564393961346633386334326635366532336233653730636561353433
31303539373037613961313135356139613163636232383134333261376261666130316632613535
36303332613263376163626263376566303233626138353566653135346665303164313439353163
31306232626538356565393537373738343839353365346565353063633465663265353030663363
31366535343866353436366332663963313737323336633163363338353433656662666135356138
33356537616530613733376430326566376364376230373731336631323736646332336234663865
39373937353532346231613030306163353933666634373237363233363431353531353039373331
31653837356365626330663461353934643231643534343034306332373736643932336135373937
35343339346336353666666139623830656536323165383531656134333239383733383163643137
64316434323732363533663239633530383464613365356331636236646234636263633032303865
33356239653564346561343965373132653736656431323234343263663963363066633439663666
30666539626265326461326661613133326135616563316437343765306232613835636331336261
64323938623936323263323363663662313638663638393130326332393633353537383061326139
30393861303066316166343433326335323531653063666135393133366638383365663864323262
37353934336432343163313463393738656339323634373738303165656532313532626463373461
34323034373834643664323337346233313766326634656562366632363638633138646362313930
65653737366530313830333966616539373262613734346261373562643534626230393935623732
37306636643065636438326266313164383539343261313564636433636430343731343537613561
31343165383930616335336439356339616233356636386439636532346362623938396166393239
30663535333661306635353635643864303432303631376437383262366131373335653464393436
30656334646461376338373762343336613062303563386466343731653136643764323665393630
31326264656330313764663137336363336366646639616461343465306436616233633836316539
34646266626364333939623763333665613062396163663039326565346239353461336534376135
62343965643732326232623732326432393238613661393166386231646436366138363535306239
61343831643038353563376133666234633862623633656336373733663639343637643535633133
37613538633036666561636432313839306435396534303133396231313063316238316633643036
39656466623062376161353464306438656666623835313561343237333639353130363938383831
65383433623139356664303638356264643138656462633037316439323932616633356131643631
30616335303165613833356533346132343234393938633930643635653638336164666661663834
63616266636434373635616431376362336231653036353935666630333139303634303034666164
38316634613464663335303734643062303330316438623061393337393765373563653761353334
39633835373433326436663337623361626664656534333538643865383732643366353534356136
30333531633438336231323864343735613266386666316461386365623933363737383763373861
39616239313938363133336332363033373733306533336239633434613130316261666662356331
35616431366164633935623233306364396134626166326335613934343766666261653134306433
36643837643862396433343261633635376464336535656336633838366439656339663938393132
38316631636530313537363833336433646330646132333139633661656139313230306234386533
31353234613035653839383034643337323163383935316665323461376434306366376238663735
66626164646433613338333964663933353639326261636663303536336133373831313531376462
64346433663635353636653738393134316535363964336265623536393537663039376635373066
30346365333131333537306631626164313533323531613061663461623963353236333439653262
31316563333861393062643062343432653338393165306638373131663366383437653239346664
63623531623130656536353466323831343338373734613863373534366165623738633731366333
34343432636238616361663039653230363638306366306166383438363763653939373866326365
35633466346537663961333761333234366333383234373930616336303731393765643937313234
36363931393535303730366163383563316333663638373133336236613132363835353637326139
64343966363435313138646265666537616432636165633435396165336537383937633133306236
36653233656635353936653832656462613437646364303330306238356664366337323862656435
38336161396162636163366234626534623463373237613461346135623938663566303263396663
62313232376133663130623963633565396661613039323339613439333033356430366230306336
64363663633031643239626165663432383432326463623634313939613566623738396532663931
33336232306163636431616234356237313138646362626233306531613437356566346333643038
62353836623862333535373531383338303563373832353236306366383563623763386134633032
34383930396635653035653531613661663763613832303133363737613935666535613765356231
31663635303036663466663830316532376134326537363764306263633831653262313337336639
31366639653364353239336266323135363436393332653933663264393334343133353139656662
32663134613066393061313934356535386661353834383939636566316338383234313832623564
32326137323033386138316536313533313532643235386336633235313361303261313934333233
38303061636663396164653033343735373264323262646639656264663534326138313336316530
30373236336565663838316261666164643032613062636138323966346137356130343036363865
37653036346665323636323833666666656536386261366636373365633237626339323866306163
32633964306463653637383936623135346639396633353533653432643764343430333334643962
62636331393265656234653930643335343336613938326635656265326633653563663834373439
39643437396136313866613836333436316430383831356462613931656132343633323665373936
31316138313261333564656631663434356363623565633864306136336433656164663564613430
33383334393463383536393631336662653263323734633461303265343535366331623532653262
62653863616338336436623535323439386333366430326561326430303564393230306562663864
31306437663866333836303930386666643132333862623162396139643138383736616639303465
66393036383139323161353436616630373264653864346261313965383361386261356462393138
31303333376138646239336330323639366165656636306663373964343861366265363266633332
34323131326332633539326631646232363937383262333533376438613364646631363264626162
66656263363364653734333037613632313964613436643432663432346435636162656235356166
36393536326666386335396337373135356330323661363531373738623935366630643530666562
33636137663361356133666335653531323463383761313937373130323035366434356635663861
33633661373937383138333962643064363966393939346135326466333834376231393534323737
306432613765633339356133373438636332
64346536363730613562666434333930653664666630646665643563393662613364386235643034
3736663864373139613931373664643638376333353961310a623934393939626361623261386466
33636364336235646639313236316365323137623333303139626165616635616239666365383034
3537383961633832340a373137313064616566666163623035613132613361323237346332353137
36373431613534663664663862626135326638363039363838326539636634326333343164353039
62313833643139656634666261306465303265613337616334373532363436303935313061386562
30663665343062376436393733323239643735393030363838313264653836653762363333396262
31313130306361333366343136376337623063383430616335656431336136373961323063326131
62343466343532646562633962333633663966393932353263396334383933363735626531626338
33313766376438343231646133326438656262613866306632613533613932366561366466306439
30623237646235323162666139333138656632383239333237376263656430323332366234323734
63323132643836626339343763313962313738346131353466396332306134323964323838336430
32633837333762343531356538353663323838396264366136363232303335333039373839653261
37356430333837616230386562616438613933353666336565316664333130346633383166373438
61613837653734336232653635393138656639626335343438666630373836623533633965353538
33313966373361653361643961623265626534616562336465323266636364333462643732616537
36333431366334633564636533373735346664336130613930333934323135396533336136636366
62646533386265353239613861666639356639396632316230636564386439636662393963363830
31633931633066623636653034366334353135323931623232656462333839306633656330623938
35663862653636363962646633396532363563303065383039383162623732373635306637386233
30373532646565326561633266393036323262646536346464366230363764313062303634623931
35313766326136393234623864366262643537323636613935383833613130643363613162613163
38303766626433393365646430613165353535656461333034383131316531323861626639366238
34356437343564316633313737303363643765636235626438393838353439313431346634363035
34363262303630633932303961613766383061353832666464356538643034636633356337353362
32643862313734623833663631363533393165623862343237376163383835323166383039316334
62333261326666306136366363646432633630646365386433323438393164663562656261376234
63633736313930346232336637373331663639313635363239383036346164396164643763323736
33653665633434373033353433663532366566376636633936363838646131663761383933623933
36313833346262313466303033306539646330316232393964663965373139323537303863643832
62666337373365393538306363363531656232613936653438653739333731333262383031363234
37613161313865383033323936356239356531656162343661303736613436386531633961636366
36346163666133396533636130316364633966356530373934646237353535646630356531386230
65386266386464346133646132383765646430393463333434343065626639616262343132396565
62343232626362666136623737623632306665663235323732373464366432363762623032343036
33656639613265613836386430353133373935333435653063653466393065613039373134343562
33343665376163633965656630353536333634316337303932376664393665613531363237363234
33353266633136666531396137623464386131386465653365643839656164393365653765303963
61373262366235653637646336376463376233646363376162393165633435346339356137386430
66633365336565353739373465366539333434643733326238373864663964393561616436616530
65373264303561623431313137383263643464366239636535336530313261386364363035663432
37336365623563333336383764396633336439353232633762613836623434303464383136376266
30336432376132666435336631393635313730613937633361306464366131313233306634623837
61356261623838303734353261386635353736303638306632626330636535613137653338366533
33663539313736323661373138373564336433336665323437343833303330303964353962316337
33633238313931653066666162653464643265666633306130353963646565633930323032353033
32386330333731393661343633333161633962336130313162346261333661353061333461373233
64643733353664383835366135373033646432613261613435333564373638386465343765636566
65393238323136386137373330616464633961653230313335303763363037306365633231633134
62313931333335616237306564366437646339313261363463356330643662343137303830373762
34363562343234356363346262643239613235346338386431323462333766326365666233343331
30366565323537323037336537323465353834356432336131373538636663323436366436333362
62363633326130663238363461383832636639646531333230343837303937316239366334373265
34363639333633393739373366613838356465353239643964656162323066333464343364353832
36336263336230633462303863643232633530316638393333363032356234643738356565313763
63346262616161343066303332373137626639323734613866353933646639353061393138373330
64656562363231393266396535396261313334323430306365656665316439623962613832623538
62323033636436343266376534656265333063303364346539613863663137643635663234346564
39333762386339393666626463343265386635336534363863393262393531633630626135633738
34663635653031363333626266356666653239626237393138313032633265373065373235613061
61333361393131343831613639303762396562323932363161373433646566646666323763393164
66626164343435653265326666333137613531656438396239646133356234316563363236383631
35363033386365653631383239306263663139316464616334663463303062643664623033336238
66653939343066323766363065343937613438343435306261623737363533643131626466666563
39383965633465643036653262363664313130333035626662353838613731656639643036333563
64616465343238313566303161326466656338386366343264396262653637346239653364613430
39623930613637306131626435356266663566653534313338306636353564653535373231326332
66306630383666656538643339346132313561383238613537353438306434653462653538346132
65656636646262366262383639646564613135656635383764313632343033343931376330376164
39386265326234363364643135343739666662613863393135353063336438626463303435306232
65373666663261363961653636326338373966346639613735663036613733363465626361623634
33306330386532336435323365633935336265663566616166393161666233393333653430663831
63313862646333643331663964623533316230393562623361316231643930626661303764653131
32396430613437383430656230386239396262333264326331363030306433383865366563343536
32343466623663336137623035333033656435343364643162373463313032636462353033383237
30626331666330373138666630633835333031666233656434396632333233623333313633376139
33386631316366363839393631336265313030313439313839383965353631383437346565383266
36386136323865663037333038336662393132393836343538383965336463636164313161623663
65326662356637306265343461326464623934396134643133646438313336653530313532336631
35663561383735373030633064656236386131393038306266383534393266383166346638376161
35366637623736633363663565363833393535646263636138366166313862613063613361303066
38653837303838373165383236386663353664333538346165646434343735316465316136643633
39336535626230366665633434666432333532316230366239346232326635313639616236316163
62383765633762393831333634636537633433646565623566343564313634653039323934653864
32306138353262366363396130343636363433386233333866316166613237633462363963666166
65633432366133303739353866393066333331333364623235663032616438373137666236313237
63616530336332346339636435303265656134323561623835303039313634306138623138326531
64306235653164653835656664633962356462326264663537656264323364656165643639396365
62383139366431343935613035616466346564313630396634376630616161616638366363646161
37373836663062643166383434636535366133623066346538646263626165353261333136393637
65323237373237663062356566323838616535316663613561316464336265333637393063333363
64646538663839363864343834336239653866363761303135393235336539363836356630323532
31343433313961323138643233306136353165343165663734663963303830633662656331383763
66623335353464343133376435376466643233343537646463653866643065383632636435653237
39626435313037656536333462613135653032313036643439623865316161653664646663396138
63323538653266303933316430653934616231623235643334643633666430666438653866353635
62643961373137623234626434616230396334623963353362633965376239623939653437346539
64386236386336343639393566326465356632623832636132303436653865616139383231373635
30626263643161383339393965353038386137393135306464623036623238396130663263636362
65343838626230353231383437383565336463313262653535666265656536353935376561336263
36633833613932613435663431376134666632313836653732323866393134383466326237353137
34613031336361343037656462383135396366353431396136636430373664613565346666613334
32643866346361626565393734643339386663323061653638303762316464326561613138363730
37396139653234346463353136383664313639326133316535383437623562386266383565366134
38323661383433303335653033326133626564353466663032613436643232376633626264626566
64393565363732623863323731626638303936353464336339373663396239666633663239663938
34303736653137643334326565646533313436376538623939633738636162646662383132356237
32626132353963663539646239643662346232343636366633623261636537626136363766363436
37623333386366653364653633306265386161373164636562373238653733386234376337323136
33613230656536306264396564376565653733373139316336336635343932636435393463356539
61336462393432656462643133316631386231393363323737343437633932376532346531346361
66323261396561353861653736366531333436373738366635613261343535363363623264343632
35316461353136653137666264643663323636636235353162366232333239623564333435303662
39343032303763313565613331306561343136303935613032663138653063646161316531353531
61396336653366383364333963343533366636663762353833323930383334623465633839333264
66646131373365346430303731396130326361336230663262306135326234643264613235653337
62653534623165656563653536323435396438383362316431343965623832356264393161623730
36626439353633393436316337643435633762363533333464363662646333353133393930303234
62656230623666663038366565333631363132313264626338653762356533636430396366346430
39623538313936666532383237653438393562363639393965653464343066653361646338663961
62323938343239323166313065366235626363313266633738323564346566326661363536383130
36646538356639356363353333633237353763383235306239303039396532653532383662323137
38303463333030313334396337636663616332363035663136653765376565336435373135343532
35663065343036623932646664363764313731386366353634613634366261326638393061333031
34393065613862643438306337623732636435383966333362626465636366386138303331633364
31663738346432363138613061353638306534633933613237346431393065636539653461386639
36343637623563323131613930393539636539643265353639623038393035616230653735663333
33303065396666303330383561626332626161663934333035646535623631656432373837653763
33366664626438303832383664356535333137343432656230353466666535323938316432396331
35373931323831623566633161333032353735396537336236666462666132646634323361336564
64376364633336393139356331333638653166363866633630623266613866346330366533376265
65373232623363663639326435353237303932393834666664333034383264633934343832393339
66613033316433353933323164343163646631666661653331666334623563306334353635613962
38363935633666303364613136656331633437383065626439666564323039666434366239386232
38343165623063336261396634643436666630303931353731633563623434613534396436386236
36623936333434313662343832336461613063623238316435376438303662323035363162393063
66333263653361333266353831343137646230323930616332323734386131323664636234306638
30333032356533323463623233336563336337616634663666393062636432356434666436346461
65393038373263326662363466383234663163336534613135663233306231633466336634393231
36643266303661326238353265613830366362376431653234623762333263646364653535353133
63666235666432623930376139393431376461646230393031643938646366323330633961363138
64613637366536306632316632303764353531643430356437373034363333633064333164383131
63393364303735636234386238636139386162613336616131323833356264333338643031373661
65656364316263656431613139323536363966623465663565343963663266653636396330313235
32303562333130616666616234346336303465646131636439623933306134306666356635393661
66306234366538663333363537653930646336333261656337346533326539373266363661353833
38656666643336386633346230353066373964303339616537316164376164633430653335376663
63343838313165653331623331383038383862303166666131663436646462363462656638613463
65313933623063663538626564613862353232623566396533653064343133633162616136346430
38333964653265636562306364653034323930306233646338653433383332343766313633626666
65666438616464326635333835353761323532366437303161653066326331393437613661643236
63336565323366316665653234353161393430623038613333646232333431663534313330393065
61383133333036356631343631336564616565393839616433336131306533376535653536633739
36396332666466346365333835636332666336666636373838303564656638383062396433363961
36656334306462356664386435343064373362353837336230303630346363613533316165633262
65376636636530343939333938663838326265326432363133343131333964376330613164383864
35333730353236306534653931303466383132353536393863636665313963616661646463343365
32383036383463313262356135383234663236303461623234383531633437336339653135396435
65353766373161393166326165613031303865653937303533356136353930313334633739306434
34316533626631376664633863653734383838343139653630663039643961343538366133663737
30323038313739316461653433393730613766383961316464346334616263353438393634303732
65633966363737303666303065313431643835613839663666633664653235303463333336303862
37616164366334646339306334393665626636363833636364613432303631643937353665306264
62333432643231623266373638383562653962366334343632636633373433393161663664303264
62633264396338633832373665396563633831653438353461383335323135316638376634393538
33316163323231396239633563316562373265626663333564643634626565383562626265653737
31373834393963376335316365663132323962373334306335653136653738653739323963663633
31336435356164306135633036383562666166343039306536323261343234333862323333366464
63323536656266623165393934383436363637363534656335346266393261366366646131643463
61366530356439663839376234313365376638373535633366626462363066663534396135316232
62396631316265313738336265613666636636353736373336663831313231303561633639616166
66376436306562636337316439336137663333643064323361663539373664613664663430363535
63373138313336316535323064353238623936336437383930383931363731373738653865353831
31663466303337653237363330323139363637353236383437363537376433356430306437616662
30613464633765626266613562643262363738323834626235343562363031663635626331663562
36643963386632306638656566666232306561313835323733373763366661323861633363623762
61323764396663626362393332396663616263643931333937636266326630323732663065333734
66643832313665623264633632313732643766616239396333646233353163393536646666616631
39343263313437303136323539303732323736363161313634326333356337333764343535646563
63386361626561343331613833313137666535633434366635613038363463376234343066333737
33386634643439633161336136383537656434353362376262353736313138333439653064393738
64663436316564376331643234373637393262323833323166653135373130303930613537383335
30663939353462653338373836613032333431343236376366343566623530643937613532313939
63666236313535316430613733633139636435363838626566376230333562303961346530653234
64326563636261656236313533313533313566616531386362356536633630636330636363393436
63613664633539613233396132356164313166613634633838303430383934396565306135386430
37623163376264313365666232313139376565373832343337393462303933363039646264303966
61373833383138656665336562396638373866313532323835393338393932313633366330663834
65336435366662303432653866303733646233353136376164343131386634303932623161643166
64346533613936633065643535316630643966353231623133623436363431636162333865653032
34653430666532303235663737316636366465356365636563376262366132303363363032613531
64663365346639643464326230613035306438333362633634363432376339643337666439386131
65323839343833633162386262363036366235663366393430346331623633663432333837313661
64383563306562363436386333333836373436666333313239636363633962643237383465643265
33633864386363623065386163363661616538306430353433626139343366623830396131626266
61643634666138616161326461643966343930316136333434303666333531393666343465393865
36373864613435373833653230316238613263343436353335626132326166366535303135313461
32633364393666393833393461383462306538323532383539376337666564663363343634306531
32346633663930656236353439613863623366656361303539376438313865353266373037643939
65653538623033643732653533336231373166393538386464393262646334343864383264316134
31653464306432316161386633623632363437663762363831326564306336366434663436626666
65633664353032636334316438343737393437383764303935643862613261633865316232393539
34303132353430626366383238393136616663363766386432633633663065366336636331636666
30653137623337306461313135353830663230353631613831333632356466306563373630313531
65313435366365323635373330383662636366306661633938363834373835303761313733623066
31343133393863633364653239646239373939346234386266326661363235636665333863623438
62383133646161613938613363363364373065616362373364336230383763383636643866373366
62663733303431306464316637336336323466336539346431386662633662666239363031316266
32646531663061633965363031623031643532653935366531326335343262616465323936373137
38376334303030373661353437616261343331666335623537393032613435303636643634336334
39346533656334303834343338366663663866346161636333376432643536333539646139393536
39396633386439316430653634316464396231343737653330316134626438366631396535643930
38616364393865333862623039383736333131636663396666333763383561306434373032636130
63626135343161613934623434366165653561623938323433383163323963623038656662613139
62623762643132623739303230393463646231383362316530653136316538643963353161303535
38643637313662656238313335366332306636613536366363643039646563656633333565333462
36616338623663623133323239626534613536666431373238643831626162313133383164363939
61616535303666333636643061373339333064313736633630636434633466373736633132643530
36306432303237346463353730366365343466623963646463336366633464366332336430653737
62383762663662643666623062646462653463333638613066383637376364653436353566363032
66616539383233376134656263666366396632343234396233383236313863626163656433333664
37393432333666393530393532333033353564393933303061663837646536643639366563623663
32373664383365326230613633323765353565366537326332643461613965333536636431376462
34333632316537313564323035313934396162396531313838383131633737623335306565646434
33393930666134366535303764373732663136613934323566333366623236663238663035643462
39633166616264613839326262346636343130353530626337363063623435653465636262366635
31326561313465643865663563666536313836643064613939333937323464313961613439356162
33303031376130616665376662356362326434363565353261643364616136373935363930353232
39316632613363643536323939326337663834303436353937323433363761313035653332393037
33306139323936306436646166636433326364643635323136336335366462353832643966313234
34623534643934616337616232386433333737666161376537396365393533613330323334373262
30386233373036653839666363626563313830643834386136363232323839396631656462646430
37353566656638303466643934666666653238666139393566646565633663333631623335303232
63306336663237303534316334656436346137623465323738333631663362663834346537633934
64373636366632623439306363356637613038356134346365663936393033346332326264613039
61376438393533313563363966626161386331316265386233613138373539303738313137313162
61366634643235346366323435363538373236613732633563313638666639366461343334366639
33373565316637616634383961656231346636366536383563313339353932656266376435316464
32663938613665373631383038303066303430303761373131623566373064383738393036323462
35383266616564333037393161343839366565633364656636643439323831323561353764633161
62303537326130373866363232346531633361646165613261636131373734313330313531373365
35633366653664643062313835666538623733306230316436353037623039343837326237376164
36633232376565613233653137633539393038343837396132366261386238613966643337376639
31376431376361633362336638383033613330626530323030363663376533323036623839336338
39383330386330366634623639346437636564633436303033613564376634356636343939313563
39656461616633663062626132326165633765323030386331666535653134356165363631626665
36323532373531643130303238396664373930663934666339363761633264346464316430656331
34663762306239313231633430393934313064363762633965623565623433656537376164363534
61616263386364306263303134633231613830353138383232363461376139373066303434363937
32303839316362333963396338376361373836643263386236393163343963643533363864663531
35363361636131633562396366303863343237333333653435653261326434386132396532396264
32616665643535363435393934633265383762396661623633343662656661346165376563326166
36613764363562366364656466353734616533663463343966643762626361626261363165373665
36623738343761386165326135363032383638303962613236626236343939636632373435616466
35663165346565393036303562313335343031323939373630373739643163613434646138323136
62393234616261363465303965646563613334316563386566363366343032656631346261313037
35373030383533643034663963633365353662336264613839323632623239653834643664643934
61653361393637656664303831346539626664323231396664656530346365376534633630636365
63363932333961303564363964363766306563303535333439313466636461616462346366633733
30346235313862396235616334653531653738303638653833373835326332306430326261303739
63393739383736356438376463303133636431613631343836653233366635353765343866626334
33656437303936316664366434626636353531366534313535653661653366353035323266336562
63323330306237306535613139326636653265356663396464393236616665653230353231316533
30623737383436316663393736623332623734323063396662653264303335646236653632353538
33626433303161336231373235363633363533373463393130616136343664386463653635333435
31656135373032373739653531336631653365393161313733396665396566613739396466316332
66316238393234636237613565633438333965366439313963313961303637666365663132623439
65663037626634366437323233653632646136336665356439323866353631343935383562313034
37353438323864636165386537336665393461633032323835653935653166363839613433616135
34393531333965356133623737306332633365336633633162633437666462313465643533616263
64663139363965396161393065353465613631393365656636353736333834376530616236653231
33333362323664363636343636323333346363326239616437633130316435306230373365356262
36633138656230333537373431356265366331623932336331303262663561343737323639346532
34363963376530626266343738373263386133616465356337323563333935626164633062336131
32646632336237386331666266353239373336623734646639626231393835343235336566323866
37336233396663323435626333646165356638636266613434623136356435356665613436636438
37633632663363323838363861393163636530313536336661303233353232356535386135346230
62643464303337386139616237313938366361336363643362323365633338626333363632336238
63316631393434366532353465646564636637393239343162303034643039373666336366633563
32363938336232313331636336343162343630313733343730383961356135373564643362336139
36373335333866666633646361316265396163306433326364613533393636393961356564393530
63373436373863653038656433343632613631373261363539613639636361646266643538616266
65663864353338633235323537326338303230643265323565643130323732393435323764356533
66356137663031656630333039623462636364326166393134396566666130343363313332613438
61663334363530383230333966363165303536363634633463663135333135346661623232316261
66306531323765653064353938323964326435323532393938666366353834613336646132613732
36396365616437306631616637313265383332633062346533643436633536336236643864306138
64353937653230326430623131326463626130336465623366333964626566663361663761316538
65373235383031643139653030643761373036343063363065393733333435333836613132323338
32346138353335386534636561383466643065363165313331316431373163363734656131613437
39363235333261623637663139663331386161353637613234313431333336623930633639646361
32656431313964616233663865656639633032323361633932623065313566663162653233393238
30643437396238383163376135616466373539323031323566346661623863373463643466383337
32323235666565343061326133396665646165393138656536613166643763646264333232356237
30653635623336383835356335356234396433326230343437383931366535336634636235373365
65626263623436623761653465666263653133393033656330653862353066313463663961663139
37323734303961623433383936306132303233313039343133633164323766653135333235643438
39663036346635663134353161636562303861343766383661643065666636383933643830623239
34613937623335333266656538373831363632353637636462336232306165353965623139333237
65383537303537303261396161323263333262343936376135346631646432353439303832363035
66363562366439313135343136636334636331356366323366323230383437643361313031343062
34346534336666303337346135356630313634386537383339633236633263643865633036346439
32343662646639323366623562396331633537626635653035343963653133353137626131663939
36303363343735333866373031313530633437336565346636323937346631656638336564356537
61363031636533626462333033333863386466386162356132373263623962626361323239616236
61633239313833393136653739623566663434666166386366366434646363363663666339333365
37363830366439633130636261613236393932376665306236346465356662366561663263323665
30343732653233343263616430616561376531626334313235623235666332666466393339633239
64313436396330393931633933666466643430623362376265306430333161326638333438366565
37646563616161613030333865616663353639616131623735653533343261623961616531653564
30376135326634656261663331383131396634623038653836373430386165306464323731326139
37396236656431373936613263313363306538303835646536376565613935396461636165613864
63643936323866346630316137633766656333666231393064303136346433646539663033326636
31333830663934613837393264353462333336363530623530313765313232323635343837343566
32633231633131336263613932356264633532383531313537333864653837343936623236383762
63303434363965663330333461303366383439343563633435316664663435356634613836623139
32653734346661663933303563313636336130633739326539346332333534396633633738386630
31313362633661343730666464313564336363346137313538373639313031393333633838346162
38373730303338613239626132313563343665303538636336353936376564383837393939653432
66356263363063376630336434326238383565336336636531666662663237383561653131663963
62626431313336343835356661376636303162616266353630366161316364363730393664616363
31643239373034323533393064616638633765383230636633633339646563323032373831616235
39383235663534313762353139646131363335356465303936643532643362646232396662633665
35643862386463376232356134333131313432663231666436383366373864663431613662656430
31363336383264323431383666316638373930376532616134666535636437623939373766343165
35333232336664623966316266646565663933616432316139303465366164633831663465373130
39353838623335613530623465623238303363663066663334326362316139383034623535383665
64623134636562323438373833323566653966353863323363346461636661393036336639353065
61386535653133366661616336633133626234633030336561653136353536303836633935383038
36396565393432303664336264666335353734376239613565336132333934306234353731323266
36316438623933656632643266303861306230656637336663366435333037613935393365376631
36656439663839306235633364306338383662623935326636643838623665363862383739666435
33623137356436333233666633633163373934653130376463313666626133366361353166396664
66326330346665333531376264386562373731343334323330313433643064326537396538633562
61366361613461616432306135613936306162373836313832353865643166663866336133313231
64663561323830373763633439643266313133323965363737396339656566613838616331643033
61316230663733306330303836653061376438353266653731666664356638343433346664356161
32653438663163376334646362346330323432656234303264313535626166616564376333336532
36363662383139336462343039326536316535333739626431323064323939303865616261333937
30643462383862633166653130643739303731666336663233633266366262396237613330303965
63633032313465313735666433386565313266636462636234623937373434646564376537313032
65316665656633643330636634363536616339666465653635353832363635306339336661353037
63383965633835366237363031326366306533333639356334626661666663616234356338353035
39653338613533336561616465623165613635613834373631356261346566363432303033623966
61653433613530313332613764626462316462633630326531396334313161316331316130633564
62663066663732353033396130663766336433666230653938333833626631373661356236653636
33303563313738313831623236653834316133386639633262376631326631643239653731303262
30663130643238663030376564643937386231656363353536326265313834323362313262333632
30393538313935633439356630363838393236373033346636363463353334373534373633313235
39323033333437343531316335303235313938663264663832356136636331383831353331633066
65393964616665316537306464653731306161383765623931373132346234303435623166616565
61663231393963623930303537393961643231356437313537393464636166356138653735633362
62353238613038333035653831663932313237666530613536646634393866623362346431373239
61633033666636323561333236323834343738376532656661363434653464323265353131333638
61353434333430393364633133396637633864323632653339623935323561306166613665303664
37343031633734313137623835313261303831663838363431353661346466366663333063326235
32313837613833363738366264316565636435313234643535393932346637653639323564346161
37346133616639383130633762313463363330623430373466316130643638653337343531653534
34623134343234623134366630636234373839636433386330366335616365333063666239353234
31663530623363366438383166343065616233656535306631653466663264623734363131386336
33396436356665623335346263663732353434366431386132373362363661396561363632656561
32613861333263376138363639636131306532373765383330613364646635333532653564353236
66353932623464383662633136313531373639636339643338383336343836666361626631613739
61613032306539356463356534303438383335623034363732353262323264356234623961373665
37313632316237366238363962373632306338316534363062623439383762643764353064393830
64346466366465653432643339323865656562613639303764663632653032633330656239363535
33313338313732653662336636613335373033653161313262656237343530643435356237376338
36333832353735363436646637303931343433656538613039366537353465636433393561316165
37663561363162313966626136626166363336303261643731663738663430636461623031373435
31323963633130363031313737373965303337353764316366666265346666616235303463353465
39326437633339336536633063333363366564363633396333653534633865316534623035323739
64326639613366623637626232326465646134386337306232653364653937366466653530633764
65366437613531343839376236343063663062656230636138333131336537313335313562653630
64306336636262613936656538393763306330643931666161343266613531636435316433336531
66336637363835623263333738333839303563366561373862613864343031666461613333363832
34333337613661343333373530333938653730653963636637656262326366613937616335393965
36613234333530306331386135373263643761303564626430373761636633303064353935396536
35303866633062613962346434326538653465363262336464323939363265366434323034663130
66366361373562343761653737373461373733316261353831626261666136393331666639353165
65313466646136396161623762623238376266623763313035383939346164373236323133386561
64313839383330346334653536336237643936323630643631343135393738373539356437333461
66613761366433383365643436323530343465636462393837396239623566323636343638623261
33383536336330386463316435663635363030623662336237333335373138393534646336643436
30663832323366623134313635353939373333633237323861653235366335386136316339376461
63613631383662306566353734376530393038356337636165343539636562643236656435646561
64646338343165326466343435373166343333646535633036643036626566306338386439646632
30343037326266356236626462303633396463306362396134386665383338353866306433313232
38326561653835643736376237653133363733383365323865376632626430613338313031316333
36616532333037656337336130366166663636353139626132323264336666643230323330646166
62663532616136653962333864383432383633633332333134626438633937613139383738316265
35346164623831383030373534393633306633656630303035623439393765386432316131316639
38616434626161346437323437376637323034663335613464363165363564383531326564646330
39656230623563643537383439343239306132373833653565356438316231396338303232663538
33303732316261326539373732356462643733663437356130383266623564626232343733646163
66643536313435393830396339626230323662613330646430646335613362333334393463326562
37653036616138323963373232636562333434323032626566313265386236366463363739346435
62653136393632343739323038306666643161663037643364336134303339323939376161303966
63346532643630626335363665633334326634313062383831363234346266383237383431373432
31316263303236633137643162373362313664373336666465393135353339613163356166343334
64336539666162616133313936633764303264613565343232313534663735666566376461323665
62333438333766626137366464636637313164336334626639353332356533386163663762396562
38646164383631396135373264303231323030353939396638346637303162633439623730633631
66333365623639653563613461383137383331636164366164386536383836323261326137313233
33353234346330636330386636393231373539336666393364346431333563313734303730363664
65333365376132396333336335303539383637343636356237373535393563613966363132346130
36306262363631333037393765663139636335666539356264636238333839623633643531396165
36626431663231656263626135653066383962623833643530633331386139636535303562313435
32623538366630363965613832656331396234666536393435373564626338633963356436313365
32663337663262323362656432636338393661663166613337633131343934323362353131633333
39386430303033323232646234663831663665373565643936323461383064313734373235633931
61613166633034613964646234623865306533613535623633643636373739366466326232623135
39653765623966373434336239356633323538343066326438656331353130623362393536316539
36303565366165643637613161353730613662656433666432636165623666323762303130623265
38313338653937383039613964653163616464336637613063653165366330643037326237323839
34303231313433636437653335393037306138633436616335316339326134616430326531396137
35653238343239656364303935333536386130386464383536396634306331383130653437646231
64303836633663646632323863303865393837333365333864343231653364643331393462326337
39306332383234343063326336373233613432656434623439333437386535343762633431313033
39656536663131653333356639613763383738663636313337616262643461343461363563323036
63373536306537343232643733633033663730313732656461313766356662383162343061636137
64636135313865623234303739363337626439613031323735303266306565623439646165313536
62633331653032373330623833653338363530303139363561306333343335306162326631316136
36346230656366656539393738633862663166613333643330636366623130316337373566343566
34346130346539326165363534383165323630663764333831393833646430633237383265393132
38656238323134656532663333613765363966326338386464343634613335383461313533313463
37363037653131313163323734376234303237393061343766333736303935653661666266383365
32653936646631363935656331386238626634383039376663616564306139653236386661376362
34323537646364616162626661373936626463656564643065663261373738323664323232633065
33643331623930316132663237376561343936383732383863623332613437643936313230363562
63306432616132313034383237383663306639303839316366633461623264363136306231353032
66613337383637616231376336393263633562313731633266336234366263373831356463336135
37393837386639663830343132666436353333383365643237633037396536633364653065613164
37316265376437626438633230633738656437383034623661666163633038363362626239333632
63316563303433613534653332663934373864343263383934386136303933656464353162316536
65373166313635613065663634313634333430353064333039343962653033356663343966333833
30626536383263646434363130356233396234646338346233323136306363623939623234323365
66613961646334336331376639356630383839366237326236663231383939313166343664363033
34383632323861346634633763626134386465346634396162343835323161393861336162393338
33636139303666313561343830323039333036333035316531353530333566626334313663396139
65646638373938363065613334306661313830383066623438613365643166313833316630376662
34346233363833633133353638656634396231633361663363666130646436323562363531343866
32323334376265663066303137356530636264363662313938363934656537323566656661353566
38643239306238316463316364323230333065343561653839353063636331326632306463336364
62306432313634613563393539386333316339636337663732323564613362663763636130366365
39656434613336633166353134323034663066626431363264346533393438613964383634656163
63393130346639636433626364376135303737626264393061333461363962303733613437303636
38666536326630336462323135653663653335643138653438343337663562656338623766633434
61653831613663626564363463383937666534323538623365626363393433396334376632643664
34303435653034386266343434386562323738316438663763356130633532633237353562643433
63333031343439626239626235623131303164376538663763363463646439616539303162303863
32653962646163303032393031613530643061613163636535333236346232356663623762323932
30366635363733646134356131366536643538646431376232313066353939646130386232343363
30373735633234323763636465343461393439326339393539383962396262363436613532313634
64633863303239623765313838366636306461306338393636383839323062346532383233396466
61373563366230373364303865353565613535646261653038323135633261383161646136333830
37316566623966643631396666326430383437366463373135623739376138313965383163643136
64323865393739346162616335316166613161626265373430356666633765653732393330306362
61636238343039376337663764306134353730373331353533373037333034653634666435306361
30353466333363383166646136633766303734336365636131316133663236353339633233393330
66366466383163653136386530383035663332663837626634306564333239646365373336323361
36346564613538643238353463356639383231373534383639633533306330333465336562356435
38333733333935306232633734353563376231373534623135623862626135656336373464633563
39346364363561346638343831386563396136303431353635623961303862323861393637363365
65386561383830306639346333306663383264643437386234663336313931333135623238326436
61656132373761623731333732666233646230353335306561333135333431613661326265306463
32626466323730623636656637383836366562623766636331653432363431393732666666333933
61633665653832346662383730663961366366376165663538326463306537666331366431336361
66303362303232633130633564616539363634623165386434633032343539366535656564376536
34383533646432396532323939633636633164303965343632353530633331303363663732316662
39336261383362363737356536353361373135393361333736616161393565316337316637653338
61363635393235633761336261376462636130666636663661376538383439663963623931366561
32643330626161386362333265623631313833626330626164636637366461393166386134633339
36336261343966353430346333393538663664333666383865333031353431373061353636636532
36313138396364613764646363373232346361316639383762333536396463386539616463386539
31626332386634643036336366333839306337383336623134613862623866656363363033313230
61656236643631343331336236333165623433393833666430373830383734383030396633633564
63323132396539643761393230376663383866313664336434643439626639613065646161386133
66623865646439303435633336303964343031363266666233336163633737653233366165363266
63613862316139626138656364663435336539613232333566363362366164356239306331356566
36333361626563633765626635353766323032643865303539316537353137653064376564326262
31326332393535396332326665393162643535663762306236626232626338333263633237373362
31613363643433646334363963393337646663616435366634393035313033303734373666323338
36343965613235643639386162363665303139666631363336663130336231613139376132306239
62626461373465386238356631303330646336353765666363656661323433383033613131613939
62346566393637373438613766323365636663376466303466306366623731333139303131316164
32373430373064313166353830326336333763636236363763396465313434383335396461613431
66316538336561313563653737396365306461313133333330306234633266663466313634656434
34646230323064386337336331386330666536643163346332653366653861376234653636613964
63613134313666613933306536383439306134333436326661383462616661393734613161623233
63633964643266393866313937313837633061383738323065386335396366376335326138326661
37356565396339386532663032383130386366663739663765393763366164313836393035353633
61323531313032363831666163383438346633353162323931663565366636366636386238333834
39313330363036376665353839313134663935626465353833616132616233336165616435633838
37633763386165636562336634306131393139333536366231643235393732306430623933326530
65653363373161303938663932343234636139363735313531383939353566316264393037393131
63316565396235643133366334613832363331343238366135383634623037613632636637643261
31313133313637663261326432636431663766393036383735386261363430333137653033396663
62626535343235373936626331376166353465646263373137373565396235653231303363656163
38636361636331306539663733623230373039646134316632366562373666313932396565363837
37633739643165633032333738666638363064626466366265633362613039356562366637313736
34333636323262643631636537323332333237353261313837393763386166663430323064376632
31306564376138373436353066363730643561356138376333636463353763613839663165306537
30646238646332656231363366303066613633653366663030333465613661656231383133313166
38313537646338616265613937306137386436393735616663383534346666323762363334646464
63303331393035626339393533333866383734633364653733623033626231616336316135626462
66373238653766313063633939653936633163373033306364316530353330626232656365666231
62323563346262666339626365373738326466623530633363376330356462366434383533366234
36343635326564316630643632656435653836633932353532306537663237383234623137313933
32653735663030326265316336396362623139356331613630346130636336323565653437393635
30643563646663666333643031383363333566323466626161373438613065383031313531306538
61333662396564373065663734336533613661656365643938333239386335656639303636393165
39383864653463616663326464386366343938393437626630653937626165346335653030623864
61303866636362303031623136663261323631653461373236393633613862653562303161613562
62316138633365613131393634346432306261386539366532343834343731333663663834316361
30353837633137303766626364386330326238653538333938306632663534393932663665383661
61313039366132373438623233626637663139303866396666373062343630643333316562343565
30643335343738333138383636313631633133653665653264343365613532646162373332383435
34336638323838326262396331383365663434396137626465316631636464313434316164646633
31306433333263373131366361373664623764353737346536643839303235633531336434646433
63373766633161313137653034613938623061306462373639323736363661656264346637646538
61383638356536303365623336363964396566353365306232353664376638323532636263396236
39303232396662663934646161323731356165316430393434393333383265313063633866313033
62336139383936646338383338636632643861613737653936373163316230343161353334633633
62376563343832343535303332323233346263356535313866306334663236376133633532663432
38303162646339313230666164346162663961633466363864653639393633666638323764643738
31396337326634646630356161663064613964303739643138623135643533383263313732666531
33663036616137313161663463653261363435313766623363353237663064353735393166323964
36376366663336343231323061653036653161656236326233666133373539323565326131646131
66333432616231616262333165613833303230383538636436613862633231653933633462326365
37343935316337623363393339303134653134356236353937383662363835366433356233383538
36373936643963373433363939366338613862643434623333363337343264316330333166383064
64646636646635336662333633623633353165326239626539646435346166666439633563303061
65383463363861393032376231343031326434373538373939363636306632363531313531643730
30376632363961383062303765643937343766643639376661363531376434363033656633373566
35373139356634303861346431323432633835383130363034633438373364393633376330356536
66646166613166616364396335646262333235643530613732333434366439366437383364646537
30616530326532643833643836376430653030383265633831656439623836373363303131363264
31323435353036313661323563653237386539373463303065663436303463383839343334643134
33656133346638343939373735313135323538396439376330356163373165336466656463386233
38373738613963636565303533376563306435316138616637666137353133376166393134613561
34643165613335646134623736383137343362336531343131373630323330626364616230316434
36313436386532656237383837303034373966323635653336633162363562366538613661613861
32383134663034356133663765313866363364393764303733613539643933653164323236306437
38623439326665373161383963346635353139623135666531343463373165313163646139366161
66356631336265663464623164616136393730373666636665313638326231333131333163663465
62346231363163366634333733326333656135656534623963326533633637643963633935616463
36663738366430363362616530356233653861646430303430303961306534613264323466353239
31383237633539323331393035333936373730616162363739393561626231626663383966313037
65373237396436333466323962353332636666306661616637336163353430646433366565333532
36613234656338643137393561316262316435356337643531396265343130343836393934333338
61643164333563393064353465373962326363333565656139336130663963663736636262353962
64383434323532613534346666396665633866333232646563316439626665316665393731656539
37363663336662666335653132346563633333363932326533306530303239626364383636313735
37393737376366386166326666343765363037376163323865396133383462316166353637663861
66653862353530306330616539366638393833363534383738383161386362386431383565313334
30396539326634646366316262356563613733613535636338336134623961653733346562373532
66353532393262363039303530343764356636353262363031386166623238386163643339363564
35346265613633326139306634396365396435396335623131653661366361323964663465663434
35353866373366363164383735366635356137373164383335623035623032323938363934316534
31656132626564353266396639353266316631323566363335613036656232306534353034373634
33363831363530326561633265366434393962306335626232643563313762363636343764663861
36356566363032653665646335393533623436313433393633306163393961393565663136633663
61333166363036376463653165616139313938633133376264663435373137396535323539643239
36323265623464636365383364396431333063623735653863313235636435363165366531666331
35306163386338393533313235386333623634396637336630663234343564373436633136383635
39643763353866303537383337343761376266313133376130303038613264653963323062373963
64626662353764303337643139636431333461363233353263376239373839636165653335326630
35663962646462613162343537346536623161333530653030313338393664636639383035333163
62386264623838653863393862613538636564353462373738323435663834356262303965356334
33646536363631663930653962346264363731393361356630333661376438653865383338646239
31346362656134303639343238626638326461326463363738646432353331346135366438646538
30656334303365633765386366336336386131616130353764373137393665616632313236666437
66333332383664383837323732393139346365386362303264316131333561623435636430333238
33653832356331313164373933353762343639383739323837343261356536333934373861326335
33343137666166633564353139343361353933373331383966313266303637653562623639373730
65343964623334646532383535613930326437653633313239396362613039373238663863376663
39626664633434336438306534646137343636333432336439313862646638643132323663383439
32616261623833356234386433333766316331396435326564373634313362356535666165303565
35383538333364343136303333636366383130653135356538623265323234326163373763353663
39303931646164396132393037663765356431393133653832326233396264386134666466383633
66643966643562303266343864306362383135656536313166323638633562356365616563366562
34373932653363656436616463343362623066356236333962393130313230316566303364386537
38333466353030363865663732333138353833663635356639636235326134643339313266393539
66326562653566313734666637316536376235396336303835393637393063613330646464383861
64393362306564386538646131323862363564373063363864613930386634643866333133363664
39323930626531346135353335613431636332653231366430316463383135366261623162653636
33643061663362316638643062386234376561336165626165366163346438363565373136666365
32633536633663643637373132666666646665326336373766613662353363386230346662353338
33363736336234396333393135663166373162303562363635633431306434336132656163626537
39363435373261383834356435653231336432623234656430613330373537393462646366646336
30353239643833353430383731396334623061306638356338663935393731653665663963663838
63363666373936623931306631393266366363323463353361353465333734663631326433393863
35316363336666323836623336303334646637383864653338643839336135393139326638653838
35386161343932353136653836323165393732333733313531313733343138653735366432343436
32623737663735316234633061333265613931653431373331336436336235656465643462633238
30306530323531343232306263653362343533373333626534306636646235353462323161333836
37396133616336346563616337353139623238353830636135656364666130333064646262646236
35646135333430346637626135303634303063656434613733303436346332376665643065316363
37313735373464643134623633623737653738623631633530303464356639653837643962663532
39613938616162646530333830363932623661303138366561333362653835666639353065616133
32623363313564326536373832363461636236393763353538656336343361373766636637383334
34353265306636623862323834323762623339323366323837383138663032653164643537656132
32386165303234313838306239326161316135616532623663613961323865383531313365393165
38666436336263396335383237313961353839383832346533663861396337353333363037353931
61616464353334313834623936336532616439376639323566623763643261363462343738393032
64346165366333303665613730303739363431323135653266396164336663306635396131383162
62386565326130333236663761386165383736303333363732616439663535333932656638373561
65646430373565306566373636323262333363376431613362383733353466353365643530346166
33316136353565396239303932613933333331663931343139306638646462643737323435633133
35626134653933333230363866383431346662353866363239613530313335323934376435653635
33643538636439353934663935376638333938643234393765643637306538303531353134646232
35313435616535366636393063356633303234613561613863656537373436656435316239633562
37623532616532616530376435633835353634643061373430653833363464613565663237333134
62653938623462626435633833633238376361386433663062376531363436323538626334353734
64613237323638363836393739393561323764313263383364303862336439373466376533396334
64343863653230646639353163653132633533396161623162616239653765376661376161333532
34633561373338663033326665313466623763383630616435343663346438646538336532373436
39646462613262653731306339626130613935386236313737666465623836613539386131633339
31626531306534353839383035393437306239663361666466353462306263353030663239643562
63343030363131393637386336306537636234306638636335376632303532613666643339333037
33626630663834623338646466646330353863346662346464326334373930363631636261326632
31643462646132393866663733346562616664396266633763323233646333383632653433303636
36326239383238666538396331396665383838633262303731313534316438343165643634373539
64316465313337363934366236316438656262663838306563633937313434383435366263303961
64376464393965386135363235323039646464356265306231616362383165613632313534393130
31623536316533313865333833393130373564393833353131336165633465646562616536383932
30363032303361643164613334623938376662303533393764356664393866613336663932653735
62366330303834396338343133353631373564343834653434303534623963643530666330346130
64643664646538656464663363613732303538643262656366393432313830373935666539636262
62653461353437313565306433393137363738343332613637313561343335303364613333346362
35663032393563646261653035333630643536353630643437656534383362313366303636663830
35626630393438393031323163393432623533613839613561333266356666343135303865623630
33326439386331373661326364663534643139346331336235636132333364333035326563643661
64363662663437646232626433613430333365666663643863663831613034663530633462643539
64636130633134633561383435633961323466376338333163363532386636393735393435313164
63663961393834356631363033343266353331353862306131326166313131383165343337346462
64646237643566643133613464303338366131363366373634326333646339303966626161356561
33353934653934386337333235663131356662363638393437333836353936633232353266336636
38333233363364363536643933616262353930616533643166323636303938613164656630313163
34373162373164633066383831646433663536613734616331326631326632326333313338636237
37646432373231313462613735663731343461346232366265343861353139616633303938393233
3535613837663564616661373566333238383862373064363236

@ -326,9 +326,6 @@ grafana_signing_secret: "{{ grafana_signing_secret_vault }}"
pgadmin4_admin_username: "{{ pgadmin4_admin_email }}"
pgadmin4_admin_password: "{{ pgadmin4_admin_password_vault }}"
awx_admin_username: "awx-admin"
awx_admin_password: "{{ awx_admin_password_vault }}"
management_admin_username: "management-admin"
management_admin_password: "{{ management_admin_password_vault }}"
management_realm_admin_username: "management-realm-admin"
@ -365,11 +362,10 @@ netgo_msteams_hook_alerting: "{{ netgo_msteams_hook_alerting_vault }}"
management_oidc_client_secret: "{{ management_oidc_client_secret_vault }}"
# smardigo automation QA gpg key
# pub part => https://dev-gitea-01.smardigo.digital/gitea-admin/communication-keys/
# https://git.dev-at.de/smardigo-hetzner/communication-keys/
# push mirror: https://qa-gitea-01.smardigo.digital/gitea-admin/communication-keys/
gpg_key_smardigo_automation__private: '{{ gpg_key_smardigo_automation__private__vault }}'
hetzner_server_type_kube_node: cpx31
iam_opentracing_jaeger_enabled: true
iam_opentracing_jaeger_http_sender_url: "http://{{ shared_service_kube_jaeger_collector_hostname }}/api/traces"
webdav_opentracing_jaeger_enabled: true

File diff suppressed because it is too large Load Diff

@ -1,41 +0,0 @@
---
awx_kubernetes_version: "1.20"
awx_operator_version: "0.12.0"
awx_operator_url: "https://raw.githubusercontent.com/ansible/awx-operator/{{ awx_operator_version }}/deploy/awx-operator.yaml"
kubernetes_awx_namespace: "awx-test"
kubernetes_awx_postgres_volume_size: "50Gi"
kubernetes_awx_postgres_volume_accessmode: "ReadWriteOnce"
kubernetes_awx_postgres_volume_path: "/mnt/{{ kubernetes_awx_namespace }}/data/postgres"
kubernetes_awx_postgres_pvc_size: "50Gi"
kubernetes_awx_postgres_pvc_accessmode: "ReadWriteOnce"
kubernetes_awx_project_volume_size: "10Gi"
kubernetes_awx_project_volume_accessmode: "ReadWriteOnce"
kubernetes_awx_project_volume_path: "/mnt/{{ kubernetes_awx_namespace }}/data/project"
kubernetes_awx_project_pvc_size: "10Gi"
kubernetes_awx_project_pvc_accessmode: "ReadWriteOnce"
kubernetes_awx_service_port: "80"
kubernetes_awx_service_targetport: "80"
awx_ansible_username: "ansible"
awx_ansible_password: "ansible"
awx_job_templates:
- name: "create-database"
- name: "create-database-backup"
- name: "create-kibana-objects"
- name: "create-realm"
- name: "create-server"
- name: "create-service"
- name: "import-database"
- name: "remove-database"
- name: "remove-realm"
- name: "remove-server"
- name: "remove-service"
- name: "restore-database-backup"
- name: "update-monitoring"
- name: "update-service-state"

@ -1,41 +0,0 @@
---
- name: "Fetch all {{ awx_rest_api_type }} ids"
no_log: true
uri:
url: "{{ awx_base_url }}/api/v2/{{ awx_rest_api_type }}/"
method: GET
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
headers:
Content-Type: "application/json"
Accept: "application/json"
body_format: "json"
force_basic_auth: true
validate_certs: false
status_code: 200
register: response
tags:
- awx_config
- name: "Remove all {{ awx_rest_api_type }}" # noqa ignore-errors
no_log: true
uri:
url: "{{ awx_base_url }}{{ item.url }}"
method: DELETE
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
headers:
Content-Type: "application/json"
Accept: "application/json"
body_format: "json"
force_basic_auth: true
validate_certs: false
status_code: 204
tags:
- awx_config
loop: "{{ response.json.results }}"
loop_control:
label: "{{ item.url }}"
# Ignore errors due to some elements can't be deleted
ignore_errors: true

@ -1,57 +0,0 @@
---
- name: "Initilize VARs"
set_fact:
awx_type_id: "None"
changed_when: False
tags:
- awx_config
- name: "Search {{ awx_rest_api_type }} informations for {{ awx_search_name }}"
uri:
url: "{{ awx_base_url }}/api/v2/{{ awx_rest_api_type }}/?search={{ awx_search_name | urlencode }}"
method: GET
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
return_content: true
validate_certs: false
force_basic_auth: yes
status_code: 200
register: awx_type_info
tags:
- awx_config
- name: Save result as variable (fact)
set_fact:
awx_type_info_json: "{{ awx_type_info.json }}"
tags:
- awx_config
- name: "Printing {{ awx_rest_api_type }} informations for {{ awx_search_name }}"
debug:
msg: "{{ awx_type_info_json }}"
delegate_to: 127.0.0.1
become: false
when:
- debug
tags:
- awx_config
- name: "Search {{ awx_rest_api_type }} id for {{ awx_search_name }}"
vars:
query: '[? {{ awx_search_key }}==`{{ awx_search_name }}`].id'
set_fact:
awx_type_id: "{{ awx_type_info_json.results | json_query(query) | first | default(None) }}"
when: (awx_type_info_json.results is defined) and (awx_type_info_json.results | length > 0)
tags:
- awx_config
- name: "Printing {{ awx_rest_api_type }}['{{ awx_search_key }}'='{{ awx_search_name }}'].id"
debug:
msg: "{{ awx_type_id }}"
delegate_to: 127.0.0.1
become: false
when:
- debug
tags:
- awx_config

@ -1,82 +0,0 @@
---
- name: "Initilize VARs"
set_fact:
found_credential_id: ""
tags:
- awx_config
- name: "Get {{ job.name }} job_template credential id's from awx server"
uri:
url: "{{ awx_base_url }}/api/v2/job_templates/{{ awx_job_template_id }}/credentials"
method: GET
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
return_content: true
validate_certs: false
force_basic_auth: yes
status_code: 200
register: awx_job_template_info
when: (awx_job_template_id | default("") | length > 0)
tags:
- awx_config
- name: Save result as variable (fact)
set_fact:
awx_job_template_info_json: "{{ awx_job_template_info.json }}"
tags:
- awx_config
- name: "Printing..."
debug:
msg: "{{ awx_job_template_info_json }}"
delegate_to: 127.0.0.1
become: false
when:
- debug
tags:
- awx_config
- name: "Search <{{ awx_credential_id }}> in <{{ job.name }}> job_template"
vars:
query: '[? id==`{{ awx_credential_id }}`].id'
set_fact:
found_credential_id: "{{ awx_job_template_info_json.results | json_query(query) | first | default(None) }}"
when: (awx_job_template_info_json.results is defined) and (awx_job_template_info_json.results | length > 0)
tags:
- awx_config
- name: "Printing..."
debug:
msg: "{{ awx_type_id }}"
delegate_to: 127.0.0.1
become: false
when:
- debug
- awx_type_id is defined
tags:
- awx_config
- name: "Add credential id {{ awx_credential_id }} to {{ job.name }} job_template"
uri:
url: "{{ awx_base_url }}/api/v2/job_templates/{{ awx_job_template_id }}/credentials/"
method: POST
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
headers:
Content-Type: "application/json"
Accept: "application/json"
body_format: "json"
body: >
{
'associate': true,
'id': {{ awx_credential_id | int }}
}
force_basic_auth: true
validate_certs: false
status_code: 204
tags:
- awx_config
when: >
(found_credential_id | default("") | length == 0) and
(awx_credential_id is defined) and
(awx_job_template_id | default("") | length > 0)

@ -1,78 +0,0 @@
---
- name: "Initialize VARs"
set_fact:
awx_job_template_id: "None"
changed_when: False
tags:
- awx_config
- name: "Search job template {{ job.name }}"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: job_templates
awx_search_key: name
awx_search_name: "{{ job.name }}"
tags:
- awx_config
- name: "Update awx_job_template_id"
set_fact:
awx_job_template_id: "{{ awx_type_id }}"
when:
- (awx_type_id | default(None)) != "None"
tags:
- awx_config
- name: "Add job template {{ job.name }}"
vars:
name: "{{ job.name }}"
description: "{{ job.description | default(name) }}"
inventory_id: "{{ awx_localhost_inventory_id }}"
project_id: "{{ awx_hetzner_ansible_project_id }}"
execution_environment_id: "{{ awx_ee_hetzner_ansible_id }}"
playbook: "{{ job.playbook_file | default(name + '.yml') }}"
ask_variables_on_launch: true
uri:
url: "{{ awx_base_url }}/api/v2/job_templates/"
method: POST
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
headers:
Content-Type: "application/json"
Accept: "application/json"
body_format: "json"
body: "{{ lookup('template','awx-create-job-template.json.j2') }}"
force_basic_auth: true
validate_certs: false
status_code: 201
register: response
changed_when: response.status == 201
when: awx_job_template_id == "None"
tags:
- awx_config
- name: "Search job template {{ job.name }}"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: job_templates
awx_search_key: name
awx_search_name: "{{ job.name }}"
when: awx_job_template_id == "None"
tags:
- awx_config
- name: "Update awx_job_template_id"
set_fact:
awx_job_template_id: "{{ awx_type_id }}"
when: awx_job_template_id == "None"
tags:
- awx_config
- include_tasks: awx-config-job-template-credential.yml
loop: "{{ job_templates_credentials }}"
loop_control:
loop_var: awx_credential_id
when: awx_job_template_id is defined
tags:
- awx_config

@ -1,613 +0,0 @@
---
### tags:
### awx_config
### awx_repository
- name: "Remove all <job_templates>"
include_tasks: awx-config-cleanup.yml
vars:
awx_rest_api_type: job_templates
when: (awx_hetzner_ansible_project_id is not defined)
tags:
- awx_config
- name: "Printing..."
debug:
msg: "{{ ansible_ssh_key_private }}"
delegate_to: 127.0.0.1
become: false
when:
- debug
tags:
- awx_config
- name: "Authenticating with awx server"
uri:
url: "{{ awx_base_url }}/api/v2/me/"
method: GET
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
return_content: true
validate_certs: false
force_basic_auth: yes
status_code: 200
tags:
- awx_config
- name: "Search user <{{ awx_ansible_username }}>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: users
awx_search_key: username
awx_search_name: "{{ awx_ansible_username }}"
tags:
- awx_config
- name: "Update ansible_awx_user_id"
set_fact:
ansible_awx_user_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Add user <{{ awx_ansible_username }}>"
vars:
username: "{{ awx_ansible_username }}"
password: "{{ awx_ansible_password }}"
uri:
url: "{{ awx_base_url }}/api/v2/users/"
method: POST
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
headers:
Content-Type: "application/json"
Accept: "application/json"
body_format: "json"
body: "{{ lookup('template','awx-create-user.json.j2') }}"
force_basic_auth: true
validate_certs: false
status_code: 201
register: response
changed_when: response.status == 201
when: ansible_awx_user_id is not defined
tags:
- awx_config
- name: "Search user <{{ awx_ansible_username }}>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: users
awx_search_key: username
awx_search_name: "{{ awx_ansible_username }}"
when: ansible_awx_user_id is not defined
tags:
- awx_config
- name: "Update ansible_awx_user_id"
set_fact:
ansible_awx_user_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Remove all <credentials>"
include_tasks: awx-config-cleanup.yml
vars:
awx_rest_api_type: credentials
tags:
- awx_config
- name: "Search credential type id for <Machine>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: credential_types
awx_search_key: name
awx_search_name: "Machine"
tags:
- awx_config
- name: "Update awx_credential_type_machine_id"
set_fact:
awx_credential_type_machine_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Search <Machine> credentials <hetzner-ansible-ssh>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: credentials
awx_search_key: name
awx_search_name: "hetzner-ansible-ssh"
tags:
- awx_config
- name: "Update awx_credential_hetzner_ansible_id"
set_fact:
awx_credential_hetzner_ansible_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Add <Machine> credentials <hetzner-ansible-ssh>"
vars:
name: "hetzner-ansible-ssh"
user_id: "{{ ansible_awx_user_id }}"
credential_type_id: "{{ awx_credential_type_machine_id }}"
credential_type_name: "Machine"
username: "Ansible"
ssh_public_key_data: "{{ lookup('file', '{{ playbook_dir }}/users/ansible/ssh.pub') }}"
ssh_key_data: "{{ ansible_ssh_key_private | replace('\n','\\n') }}"
uri:
url: "{{ awx_base_url }}/api/v2/credentials/"
method: POST
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
headers:
Content-Type: "application/json"
Accept: "application/json"
body_format: "json"
body: "{{ lookup('template','awx-create-credential.json.j2') }}"
force_basic_auth: true
validate_certs: false
status_code: 201
register: response
changed_when: response.status == 201
when: awx_credential_hetzner_ansible_id is not defined
tags:
- awx_config
- name: "Search <Machine> credentials <hetzner-ansible-ssh>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: credentials
awx_search_key: name
awx_search_name: "hetzner-ansible-ssh"
when: awx_credential_hetzner_ansible_id is not defined
tags:
- awx_config
- name: "Update awx_credential_hetzner_ansible_id"
set_fact:
awx_credential_hetzner_ansible_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Search credential type id for <Vault>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: credential_types
awx_search_key: name
awx_search_name: "Vault"
tags:
- awx_config
- name: "Update awx_credential_type_vault_id"
set_fact:
awx_credential_type_vault_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Search <Vault> credentials <hetzner-ansible-vault>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: credentials
awx_search_key: name
awx_search_name: "hetzner-ansible-vault"
tags:
- awx_config
- name: "Update awx_credential_hetzner_ansible_vault_id"
set_fact:
awx_credential_hetzner_ansible_vault_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Add <Vault> credentials <hetzner-ansible-vault>"
vars:
name: "hetzner-ansible-vault"
user_id: "{{ ansible_awx_user_id }}"
credential_type_id: "{{ awx_credential_type_vault_id }}"
credential_type_name: "Vault"
vault_password: "{{ ansible_vault_password }}"
uri:
url: "{{ awx_base_url }}/api/v2/credentials/"
method: POST
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
headers:
Content-Type: "application/json"
Accept: "application/json"
body_format: "json"
body: "{{ lookup('template','awx-create-credential.json.j2') }}"
force_basic_auth: true
validate_certs: false
status_code: 201
register: response
changed_when: response.status == 201
when: awx_credential_hetzner_ansible_vault_id is not defined
tags:
- awx_config
- name: "Search <Vault> credentials <hetzner-ansible-vault>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: credentials
awx_search_key: name
awx_search_name: "hetzner-ansible-vault"
when: awx_credential_hetzner_ansible_vault_id is not defined
tags:
- awx_config
- name: "Update awx_credential_hetzner_ansible_vault_id"
set_fact:
awx_credential_hetzner_ansible_vault_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Search credential type id for <Container Registry>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: credential_types
awx_search_key: name
awx_search_name: "Container Registry"
tags:
- awx_config
- name: "Update awx_credential_type_container_registry_id"
set_fact:
awx_credential_type_container_registry_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Search <Container Registry> credentials <{{ shared_service_harbor_hostname }}>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: credentials
awx_search_key: name
awx_search_name: "{{ shared_service_harbor_hostname }}"
tags:
- awx_config
- name: "Update awx_credential_harbor_id"
set_fact:
awx_credential_harbor_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Add <Container Registry> credentials <{{ shared_service_harbor_hostname }}>"
vars:
name: "{{ shared_service_harbor_hostname }}"
description: "{{ shared_service_harbor_hostname }}"
user_id: "{{ ansible_awx_user_id }}"
credential_type_id: "{{ awx_credential_type_container_registry_id }}"
credential_type_name: "Container Registry"
host: "{{ shared_service_harbor_hostname }}"
username: "{{ harbor_username }}"
password: "{{ harbor_token }}"
uri:
url: "{{ awx_base_url }}/api/v2/credentials/"
method: POST
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
headers:
Content-Type: "application/json"
Accept: "application/json"
body_format: "json"
body: "{{ lookup('template','awx-create-credential.json.j2') }}"
force_basic_auth: true
validate_certs: false
status_code: 201
register: response
changed_when: response.status == 201
when: awx_credential_harbor_id is not defined
tags:
- awx_config
- name: "Search <Container Registry> credentials <{{ shared_service_harbor_hostname }}>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: credentials
awx_search_key: name
awx_search_name: "{{ shared_service_harbor_hostname }}"
when: awx_credential_harbor_id is not defined
tags:
- awx_config
- name: "Update awx_credential_harbor_id"
set_fact:
awx_credential_harbor_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Remove all <execution_environments>"
include_tasks: awx-config-cleanup.yml
vars:
awx_rest_api_type: execution_environments
tags:
- awx_config
- name: "Search execution environment for <hetzner-ansible>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: execution_environments
awx_search_key: name
awx_search_name: "hetzner-ansible"
tags:
- awx_config
- name: "Update awx_ee_hetzner_ansible_id"
set_fact:
awx_ee_hetzner_ansible_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Add execution environment <hetzner-ansible>"
vars:
name: "hetzner-ansible"
description: "hetzner-ansible"
image: "{{ shared_service_harbor_hostname }}/awx/awx-custom-ee"
credential: "{{ awx_credential_harbor_id }}"
pull: "always"
uri:
url: "{{ awx_base_url }}/api/v2/execution_environments/"
method: POST
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
headers:
Content-Type: "application/json"
Accept: "application/json"
body_format: "json"
body: "{{ lookup('template','awx-create-execution-environment.json.j2') }}"
force_basic_auth: true
validate_certs: false
status_code: 201
register: response
changed_when: response.status == 201
when: awx_ee_hetzner_ansible_id is not defined
tags:
- awx_config
- name: "Search execution environment for <hetzner-ansible>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: execution_environments
awx_search_key: name
awx_search_name: "hetzner-ansible"
when: awx_ee_hetzner_ansible_id is not defined
tags:
- awx_config
- name: "Update awx_ee_hetzner_ansible_id"
set_fact:
awx_ee_hetzner_ansible_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Remove all <inventories>"
include_tasks: awx-config-cleanup.yml
vars:
awx_rest_api_type: inventories
tags:
- awx_config
- name: "Search inventory <localhost>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: inventories
awx_search_key: name
awx_search_name: "localhost"
tags:
- awx_config
- name: "Update awx_localhost_inventory_id"
set_fact:
awx_localhost_inventory_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Add inventory <localhost>"
vars:
name: "localhost"
description: "localhost"
uri:
url: "{{ awx_base_url }}/api/v2/inventories/"
method: POST
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
headers:
Content-Type: "application/json"
Accept: "application/json"
body_format: "json"
body: "{{ lookup('template','awx-create-inventory.json.j2') }}"
force_basic_auth: true
validate_certs: false
status_code: 201
register: response
changed_when: response.status == 201
when: awx_localhost_inventory_id is not defined
tags:
- awx_config
- name: "Search inventory <localhost>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: inventories
awx_search_key: name
awx_search_name: "localhost"
when: awx_localhost_inventory_id is not defined
tags:
- awx_config
- name: "Update awx_localhost_inventory_id"
set_fact:
awx_localhost_inventory_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Create archive for repository <hetzner-ansible>"
shell: cd {{ playbook_dir }} && git archive --format tar.gz -o /tmp/hetzner-ansible.tar.gz HEAD
changed_when: true
delegate_to: 127.0.0.1
become: false
tags:
- awx_config
- awx_repository
- name: "Remove old repository folder for <hetzner-ansible>"
file:
state: absent
path: "{{ awx_project_path }}/hetzner-ansible"
tags:
- awx_config
- awx_repository
- name: "Create project folder for <hetzner-ansible>"
file:
path: "{{ awx_project_path }}/hetzner-ansible"
state: directory
owner: root
group: root
mode: '0555'
tags:
- awx_config
- awx_repository
- name: "Extract repository archive for <hetzner-ansible>"
unarchive:
src: /tmp/hetzner-ansible.tar.gz
dest: "{{ awx_project_path }}/hetzner-ansible"
tags:
- awx_config
- awx_repository
- name: "Remove temporarily local created files"
delegate_to: 127.0.0.1
become: false
file:
state: absent
path: '{{ item }}'
loop:
- /tmp/hetzner-ansible.tar.gz
tags:
- awx_config
- awx_repository
- name: "Remove all <projects>"
include_tasks: awx-config-cleanup.yml
vars:
awx_rest_api_type: projects
tags:
- awx_config
- name: "Search project <hetzner-ansible>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: projects
awx_search_key: name
awx_search_name: "hetzner-ansible"
tags:
- awx_config
- name: "Update awx_hetzner_ansible_project_id"
set_fact:
awx_hetzner_ansible_project_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Add project <hetzner-ansible>"
vars:
name: "hetzner-ansible"
description: "hetzner-ansible"
local_path: "hetzner-ansible"
default_environment_id: "{{ awx_ee_hetzner_ansible_id }}"
uri:
url: "{{ awx_base_url }}/api/v2/projects/"
method: POST
user: "{{ awx_rest_api_access_user }}"
password: "{{ awx_rest_api_access_pw }}"
headers:
Content-Type: "application/json"
Accept: "application/json"
body_format: "json"
body: "{{ lookup('template','awx-create-project.json.j2') }}"
force_basic_auth: true
validate_certs: false
status_code: 201
register: response
changed_when: response.status == 201
when: awx_hetzner_ansible_project_id is not defined
tags:
- awx_config
- name: "Search project <hetzner-ansible>"
include_tasks: awx-config-get-typ-id.yml
vars:
awx_rest_api_type: projects
awx_search_key: name
awx_search_name: "hetzner-ansible"
when: (awx_hetzner_ansible_project_id is not defined)
tags:
- awx_config
- name: "Update awx_hetzner_ansible_project_id"
set_fact:
awx_hetzner_ansible_project_id: "{{ awx_type_id }}"
when:
- awx_type_id != "None"
tags:
- awx_config
- name: "Remove all <job_templates>"
include_tasks: awx-config-cleanup.yml
vars:
awx_rest_api_type: job_templates
tags:
- awx_config
- name: "Setting job templates credentials as fact"
set_fact:
job_templates_credentials: [
"{{ awx_credential_hetzner_ansible_vault_id }}",
"{{ awx_credential_hetzner_ansible_id }}",
]
tags:
- awx_config
- name: "Create job templates"
include_tasks: awx-config-job-template.yml
loop: "{{ awx_job_templates | flatten(levels=1) }}"
loop_control:
loop_var: job
tags:
- awx_config

@ -1,143 +0,0 @@
---
### tags:
### kube_install
### awx_config
### awx_repository
- name: "Install pip3 for {{ inventory_hostname }}"
apt:
name: python3-pip
state: present
become: True
tags:
- kube_install
- name: "Install kubernetes over pip3 for {{ inventory_hostname }}"
pip:
name: kubernetes
state: present
become: True
tags:
- kube_install
- name: "Install and setup kubernetes (single node, master-only cluster) for {{ inventory_hostname }}"
include_role:
name: geerlingguy.kubernetes
vars:
kubernetes_version: "{{ awx_kubernetes_version }}"
kubernetes_allow_pods_on_master: true
# kubernetes_kubelet_extra_args: "--bind-address 0.0.0.0"
tags:
- kube_install
- name: "Download awx {{ awx_operator_version }} to kubernetes template for {{ inventory_hostname }}"
ansible.builtin.get_url:
url: "{{ awx_operator_url }}"
dest: /tmp/awx-operator.yaml
mode: '0664'
tags:
- kube_install
- name: "Apply awx {{ awx_operator_version }} to kubernetes {{ inventory_hostname }}"
kubernetes.core.k8s:
state: present
src: /tmp/awx-operator.yaml
namespace: default
wait: yes
wait_timeout: 300
tags:
- kube_install
- name: "Ensure that postgres volume directory exists for {{ inventory_hostname }}"
file:
path: "{{ item }}"
state: directory
mode: '0755'
owner: 'root'
group: 'root'
loop:
- "{{ kubernetes_awx_postgres_volume_path }}"
- "{{ kubernetes_awx_project_volume_path }}"
tags:
- kube_install
- name: "Copy deployment template for {{ inventory_hostname }}"
template:
src: awx-deployment.yml.j2
dest: /tmp/awx-deployment.yml
owner: root
group: root
mode: '0644'
tags:
- kube_install
- name: "Create a awx k8s namespace for {{ inventory_hostname }}"
kubernetes.core.k8s:
name: "{{ kubernetes_awx_namespace }}"
api_version: v1
kind: Namespace
state: present
tags:
- kube_install
- name: "Apply awx deployment for {{ inventory_hostname }}"
kubernetes.core.k8s:
state: present
src: /tmp/awx-deployment.yml
namespace: "{{ kubernetes_awx_namespace }}"
wait: yes
wait_timeout: 300
tags:
- kube_install
#- name: "Cleanup for {{ inventory_hostname }}"
# file:
# path: "{{ item }}"
# state: absent
# loop:
# - /tmp/awx-operator.yaml
# - /tmp/awx-deployment.yml
# tags:
# - kube_install
- name: "Wait for awx service {{ inventory_hostname }}"
uri:
url: "http://{{ stage_server_ip }}:{{ kubernetes_awx_service_port }}"
status_code: 200
validate_certs: False
register: result
until: result.status == 200
retries: 60
delay: 20
tags:
- kube_install
- name: "Search for all pods labeled app.kubernetes.io/name=awx {{ inventory_hostname }}"
kubernetes.core.k8s_info:
kind: Pod
namespace: "{{ kubernetes_awx_namespace }}"
label_selectors:
- app.kubernetes.io/name=awx
register: pod_list
tags:
- kube_install
- name: "Wait for awx-task db-migration {{ inventory_hostname }}"
kubernetes.core.k8s_exec:
namespace: "{{ kubernetes_awx_namespace }}"
pod: "{{ pod_list.resources[0].metadata.name }}"
container: awx-task
command: /usr/local/bin/wait-for-migrations
tags:
- kube_install
- include_tasks: awx-config.yml
vars:
awx_base_url: "http://{{ stage_server_ip }}"
awx_rest_api_access_user: "{{ awx_admin_username }}"
awx_rest_api_access_pw: "{{ awx_admin_password }}"
awx_project_path: "{{ kubernetes_awx_project_volume_path }}"
tags:
- awx_config
- awx_repository

@ -1,33 +0,0 @@
{
"name": "{{ name }}",
"description": "{{ description | default("") }}",
"organization": "{{ organization_id | default(None) }}",
{% if user_id is defined %}
"user": "{{ user_id }}",
{% endif %}
{% if team_id is defined %}
"team": "{{ team_id }}",
{% endif %}
"credential_type": "{{ credential_type_id }}",
{% if credential_type_name == "Machine" %}
"inputs": {
"username": "{{ username }}",
"ssh_public_key_data": "{{ ssh_public_key_data }}",
"ssh_key_data": "{{ ssh_key_data }}",
{% if ssh_key_unlock is defined %}
"ssh_key_unlock": "{{ ssh_key_unlock }}"
{% endif %}
}
{% elif credential_type_name == "Container Registry" %}
"inputs": {
"host": "{{ host }}",
"username": "{{ username }}",
"password": "{{ password }}"
}
{% elif credential_type_name == "Vault" %}
"inputs": {
"vault_id": "{{ vault_id | default("") }}",
"vault_password": "{{ vault_password | default("") }}"
}
{% endif %}
}

@ -1,10 +0,0 @@
{
"name": "{{ name }}",
"description": "{{ description | default("") }}",
{% if organization_id is defined %}
"organization": "{{ organization_id }}",
{% endif %}
"image": "{{ image }}",
"credential": "{{ credential }}",
"pull": "{{ pull }}"
}

@ -1,10 +0,0 @@
{
"name": "{{ name }}",
"description": "{{ description | default("") }}",
"organization": "{{ organization_id | default(1) }}", {# 1 means Default Organization #}
"kind": "{{ kind | default("") }}",
{% if host_filter is defined %}
"host_filter": "{{ host_filter }}",
{% endif %}
"variables": "{{ variables | default("---") }}"
}

@ -1,49 +0,0 @@
{
"name": "{{ name }}",
"description": "{{ description | default("") }}",
"job_type": "{{ job_type | default("run") }}",
"inventory": "{{ inventory_id }}",
"project": "{{ project_id }}",
"playbook": "{{ playbook }}",
{# {% if credential_ids is defined %}
"credentials": [
{% for id in credential_ids %}
"{{ id }}",
{% endfor %}
]
{% endif %} #}
"scm_branch": "{{ scm_branch | default("") }}",
"forks": "{{ forks | default(0) }}",
"limit": "{{ limit | default("") }}",
"verbosity": "{{ verbosity | default(0) }}",
"extra_vars": "{{ extra_vars | default("---") }}",
"job_tags": "{{ job_tags | default("") }}",
"force_handlers": "{{ force_handlers | default(false) }}",
"skip_tags": "{{ skip_tags | default("") }}",
"start_at_task": "{{ start_at_task | default("") }}",
"timeout": "{{ timeout | default(0) }}",
"use_fact_cache": "{{ use_fact_cache | default(false) }}",
"execution_environment": "{{ execution_environment_id }}",
"host_config_key": "{{ host_config_key | default("") }}",
"ask_scm_branch_on_launch": "{{ ask_scm_branch_on_launch | default(false) }}",
"ask_diff_mode_on_launch": "{{ ask_diff_mode_on_launch | default(false) }}",
"ask_variables_on_launch": "{{ ask_variables_on_launch | default(false) }}",
"ask_limit_on_launch": "{{ ask_limit_on_launch | default(false) }}",
"ask_tags_on_launch": "{{ ask_tags_on_launch | default(false) }}",
"ask_skip_tags_on_launch": "{{ ask_skip_tags_on_launch | default(false) }}",
"ask_job_type_on_launch": "{{ ask_job_type_on_launch | default(false) }}",
"ask_verbosity_on_launch": "{{ ask_verbosity_on_launch | default(false) }}",
"ask_inventory_on_launch": "{{ ask_inventory_on_launch | default(false) }}",
"ask_credential_on_launch": "{{ ask_credential_on_launch | default(false) }}",
"survey_enabled": "{{ survey_enabled | default(false) }}",
"become_enabled": "{{ become_enabled | default(false) }}",
"diff_mode": "{{ diff_mode | default(false) }}",
"allow_simultaneous": "{{ allow_simultaneous | default(false) }}",
{% if webhook_service is defined %}
"webhook_service": "{{ webhook_service }}",
{% endif %}
{% if webhook_credential is defined %}
"webhook_credential": "{{ webhook_credential }}",
{% endif %}
"job_slice_count": "{{ job_slice_count | default(1) }}"
}

@ -1,23 +0,0 @@
{
"name": "{{ name }}",
"description": "{{ description | default("") }}",
"local_path": "{{ local_path }}",
"scm_type": "{{ scm_type | default("") }}",
{% if scm_type | default("") == "Git" %}
"scm_url": "{{ scm_url }}",
"scm_branch": "{{ scm_branch }}",
"scm_refspec": "{{ scm_refspec }}",
"scm_clean": "{{ scm_clean | default(false) }}",
"scm_track_submodules": "{{ scm_track_submodules | default(false) }}",
"scm_delete_on_update": "{{ scm_delete_on_update | default(false) }}",
{% endif %}
{% if credential_id is defined %}
"credential": {{ credential_id }},
{% endif %}
"timeout": "{{ timeout | default(0) }}",
"organization": "{{ organization_id | default(1) }}",
"scm_update_on_launch": "{{ scm_update_on_launch | default(false) }}",
"scm_update_cache_timeout": "{{ scm_update_cache_timeout | default(0) }}",
"allow_override": "{{ allow_override | default(false) }}",
"default_environment": "{{ default_environment_id | default(null) }}"
}

@ -1,9 +0,0 @@
{
"username": "{{ username }}",
"first_name": "{{ first_name | default("") }}",
"last_name": "{{ last_name | default("") }}",
"email": "{{ email | default("") }}",
"is_superuser": "{{ is_superuser | default(false) }}",
"is_system_auditor": "{{ is_system_auditor | default(false) }}",
"password": "{{ password | default("") }}"
}

@ -1,98 +0,0 @@
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: postgres-awx-volume
namespace: {{ kubernetes_awx_namespace }}
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: {{ kubernetes_awx_postgres_volume_size }}
accessModes:
- {{ kubernetes_awx_postgres_volume_accessmode }}
hostPath:
path: "{{ kubernetes_awx_postgres_volume_path }}"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: awx-project-volume
namespace: {{ kubernetes_awx_namespace }}
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: {{ kubernetes_awx_project_volume_size }}
accessModes:
- {{ kubernetes_awx_project_volume_accessmode }}
hostPath:
path: "{{ kubernetes_awx_project_volume_path }}"
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: postgres-awx-postgres-0
namespace: {{ kubernetes_awx_namespace }}
spec:
storageClassName: manual
accessModes:
- {{ kubernetes_awx_postgres_pvc_accessmode }}
resources:
requests:
storage: {{ kubernetes_awx_postgres_pvc_size }}
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: awx-project-claim-0
namespace: {{ kubernetes_awx_namespace }}
spec:
storageClassName: manual
accessModes:
- {{ kubernetes_awx_project_pvc_accessmode }}
resources:
requests:
storage: {{ kubernetes_awx_project_pvc_size }}
---
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
name: awx
namespace: {{ kubernetes_awx_namespace }}
spec:
admin_user: {{ awx_admin_username }}
projects_persistence: true
projects_existing_claim: awx-project-claim-0
projects_storage_access_mode: {{ kubernetes_awx_project_pvc_accessmode }}
projects_storage_size: {{ kubernetes_awx_project_pvc_size }}
---
apiVersion: v1
kind: Service
metadata:
name: awx-service
namespace: {{ kubernetes_awx_namespace }}
spec:
ports:
- name: http
protocol: TCP
port: {{ kubernetes_awx_service_port }}
targetPort: {{ kubernetes_awx_service_targetport }}
externalIPs:
- {{ stage_server_ip }}
---
apiVersion: v1
kind: Secret
metadata:
name: awx-admin-password
namespace: {{ kubernetes_awx_namespace }}
stringData:
password: {{ awx_admin_password }}

@ -173,7 +173,7 @@ k8s_argocd_helm__release_values:
source:
path: apps/{{ stage }}/awx-operator
repoURL: https://{{ shared_service_gitea_hostname }}/gitea-admin/argocd.git
targetRevision: master
targetRevision: main
syncPolicy:
automated:
prune: true
@ -190,7 +190,7 @@ k8s_argocd_helm__release_values:
source:
path: apps/{{ stage }}/awx
repoURL: https://{{ shared_service_gitea_hostname }}/gitea-admin/argocd.git
targetRevision: master
targetRevision: main
syncPolicy:
automated:
prune: true
@ -206,7 +206,7 @@ k8s_argocd_helm__release_values:
project: infrastructure
source:
path: config/default
repoURL: https://{{ shared_service_gitea_hostname }}/argocd/jaeger-operator
repoURL: https://{{ shared_service_gitea_hostname }}/gitea-admin/jaeger-operator.git
targetRevision: v1.31.0
syncPolicy:
automated:

@ -1,4 +1,7 @@
---
awx_admin_username: "awx-admin"
awx_admin_password: "{{ awx_admin_password_vault }}"
awx_ansible_username: ansible
awx_ansible_password: ansible

@ -1,6 +1,3 @@
[awx]
prodnso-awx-01
[connect]
prodnso-management-01
@ -13,7 +10,7 @@ prodnso-elastic-stack-elastic-02
prodnso-elastic-stack-elastic-03
[gitea]
#prodnso-gitea-01
prodnso-gitea-01
[harbor]
prodnso-harbor-01
@ -56,26 +53,25 @@ prodnso-prometheus-01
#prodnso-webdav-01
[kube_control_plane]
#prodnso-kube-master-01
#prodnso-kube-master-02
#prodnso-kube-master-03
prodnso-kube-master-01
prodnso-kube-master-02
prodnso-kube-master-03
[etcd]
#prodnso-kube-master-01
#prodnso-kube-master-02
#prodnso-kube-master-03
prodnso-kube-master-01
prodnso-kube-master-02
prodnso-kube-master-03
[kube_node]
#prodnso-kube-node-01
#prodnso-kube-node-02
#prodnso-kube-node-03
prodnso-kube-node-01
prodnso-kube-node-02
prodnso-kube-node-03
[k8s_cluster:children]
kube_control_plane
kube_node
[stage_prodnso:children]
awx
connect
elastic
pdns

@ -141,32 +141,6 @@ scrape_configs:
target_label: instance
replacement: $1
##############################################
- job_name: 'awx'
scheme: http
metrics_path: '/api/v2/metrics/'
basic_auth:
username: {{ awx_admin_username }}
password: {{ awx_admin_password }}
static_configs:
- targets: [
{% for server_info in stage_server_infos | default([]) %}
{% if server_info.service == 'awx' %}
'{{ server_info.name }}.{{ domain }}:{{ monitor_port_awx }}',
{% endif %}
{% endfor %}
]
labels:
env: {{ stage }}
project: smardigo
application: awx
relabel_configs:
- source_labels: [__address__]
regex: (.*):.*
target_label: instance
replacement: $1
##############################################
- job_name: 'connect'

Loading…
Cancel
Save