Create new role for LOS tablet

master
jowj 4 years ago
parent ee31d08681
commit 7ae37207c1

@ -37,6 +37,9 @@ wireguard_clients:
offset: 13
privkey: "{{ vault_wireguard_client_privkey_hatchery }}"
pubkey: kguQg0CvB7N1fJDO8i0Nj4C1cUKUsawfHyArwiaGxis=
- name: frisket
offset: 14
privkey: "{{ vault_wireguard_client_privkey_frisket }}"
pubkey: z5ogJTRX4K5evGOntpkIVopZFUVeTzAOaBtRS0K71TU=
# mojos
slack_bot_token: "{{ VAULT_SLACK_BOT_TOKEN }}"

@ -1,30 +1,34 @@
$ANSIBLE_VAULT;1.1;AES256
35333564626239306564363765646535333638616663386666326339356665306334333364346561
6638306537393964333164316435356235303261393263310a346462393165396634643837353366
34333361383030346433373632303831373538653363356132666436316162346663316466613362
6330386135323765640a343161363162653663363166356530653833653132346563316436666633
36626532343538396130666231323462623333336664613531643765373866396662653035623464
39383563306538643866333264343634636165613037346139633630353131646561383562316236
32336636643137356430383961303236316666396564316566313838306439613864343030623161
38356361313030336461366465306666326434396131323036646338646232346266396631306437
39633430313230303162653333306264393931303939343466636238323134646237313332336630
38386466666435383034323634666331383233323631623533306431653937613166316433626130
65376238363261373563343439613531306539346633616532383434356162373334633462643062
30323232643061326163623663623338343835303139643936326137346439303664653230663062
38356639626333643036396361633464303038376330663638616564316631623933653036323334
34343861366533313262366563303761333038343231303264636136386162653963383134343462
37303134346632633863343465643766343062633630626661383731346561666237353237343133
31633536636662653930303865366566313632323461623537396538353631316634303734356261
66356332323435303837643531393231353234633966383437626639656266626365616539303861
36623566663334383366636631323838373232316133313463613566323238353265343336376532
30343465393964346562343366613035623639363337353634346162643232656432633133323739
63373236363466333934323833653133326664663162313435333434643232613439343530383861
33613437636130353630656133373435366538613236646664623463343733336361663030383332
37303335653364303161666130373338613862376663613965356461646530313462376334623164
37343035333139306363666535653038646539386539663638663164336662623633396563626365
62643663323731373539363965303363373766343534393766383930303561353838353830313965
32336461633136376231653166333135353364656232363431633366353430323537333734366437
39353839323234386636666133663937326231316337666134623138623036373135663061306539
33323635613835333261363262343364313735363832386632383337623365313561643632373833
61353938386333663438303934326138393637346633316634383434666538363234396163383331
38666562613131323963643863636231363536346435353230323463616135656236
62626535663562636439303438386432336661643536393864383034636131343964656532653161
3931313138373938363036306162383233656435356463660a353534336432613435663530656331
61373038336664383065623465373632366530633437376437343466303231613037626638656165
3534396636346334660a356636623632313663643264313234383332353533303637386433333934
31386130393034393561373338623938333936383764343531663832303564613561323830346465
37666166353730353933656131323862346639333339353263306435313766343262653864653338
36643336643065313765326639653037616165363964373566366232336439366335363335616432
62313363663133353465393639613563386334633336383964326436346365326538303536396130
31393361366333656534306365336633303933626133636232636638646663613935383330653466
34633764366366343630383636326565386236366365613431363234343166373233653063666630
64646336346165396365623535613831363564633766356137313563313366366132633330623132
32323233643131393034633033346432386631346639626532306230663030396264306164643734
30623066353061313136623633303765653832323539346636383133383133613365613030336131
35663765393365623438363137643562643735326230333836346338646566616439396138396235
36333063373330313964656632616236303730323833366231663039346333616535353934326565
33373330383139306339343562333830353032326438356662383139346137646166653062343536
38656163646230613033376538666562623336663438346435623532653835643530633035306230
36343437373335393230333735323537326366616463343930333339343532306265653735346339
35613666376235333731386431623064323766376666633864363963333331373765343631343861
66343261376632383138383762633935663635616136373763366266663631313133323738396431
66343765356530373334623232306163356232363466616430626463633661346238303537313230
66613764316331386233623035306637366461323038383634386461316232363065646361653636
38343032656361366431383265363362643965613462663735383532373964356639353462643463
39386637636366333638346538303836373534393563323964303531333033373539373965363166
62613461633837656230353337626331316537366237616263313265346535356337376630343438
30373533373031653734653333613463323438353837373334613632633235626232643636663731
33393934376463613736303465633634376162646434356164373636316231663663363765656431
64393264303363656563343631653939626165393534383363656235306231666230303332316666
63643539616637383761356130326166386362373637323563633066666232623036326137353539
37663734656136386435386366393264653034663639363866636638376565616434386639326231
37343435393534346332626639386134656339366565313631303631306634306635363461333762
37656236386265626664393561313762313134303736663264666634386331363133326537323934
62376563313863303036656435656464393833646465613332323862373731366537

@ -38,6 +38,12 @@
tags:
- clients
- client_matrix
- name: Create frisket.conf file in ~/wireguard/.
template: src=ios.conf dest=/etc/wireguard/ owner=root mode=0600
tags:
- clients
- client_frisket
- name: Create ling8.conf file in /etc/wireguard/.
template: src=ling8.conf dest=/etc/wireguard/ owner=root mode=0600

@ -0,0 +1,9 @@
[Interface]
PrivateKey = {{ wireguard_clients[4]['privkey'] }}
Address = {{ wireguard_vpn_network | ipsubnet(32, wireguard_clients[4]['offset']) }}
DNS = 1.1.1.1
[Peer]
PublicKey = {{ wireguard_server_pubkey }}
Endpoint = vpn.awful.club:51820
AllowedIPs = 0.0.0.0/0
Loading…
Cancel
Save