From 01bb7bc4b6bf76ab97fa7c0bd0fb34450488cc4c Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Sun, 14 May 2023 02:22:15 +0200 Subject: [PATCH] Rename smp_server to simplexmq_smp --- group_vars/all/secrets.yml | 108 +++++++++--------- roles/docker_services/defaults/main.yml | 2 +- .../{smp_server.yml => simplexmq_smp.yml} | 10 +- roles/docker_services/tasks/services/tor.yml | 2 +- 4 files changed, 61 insertions(+), 61 deletions(-) rename roles/docker_services/tasks/services/{smp_server.yml => simplexmq_smp.yml} (68%) diff --git a/group_vars/all/secrets.yml b/group_vars/all/secrets.yml index 6ad5f22..5935e56 100644 --- a/group_vars/all/secrets.yml +++ b/group_vars/all/secrets.yml @@ -1,55 +1,55 @@ $ANSIBLE_VAULT;1.1;AES256 -62326638623464303534383234366365636163623736356162323235636332316462356438636331 -3539333364633139383766643438643832336466333838630a386661646339393733363037333636 -31666464366430383961646665663632323563346362633862623861353438643731663038323037 -6531346462623336310a366333396236353261643161633063373438303261386662616437316437 -62616562666137363431343238373931363034356562613766643961343263306330366636363831 -35346436663930333461636465353061306536303533623937366139353564333330626432303233 -62336531313031623363653561336233376264363033313862643862333834613431333836646639 -63323036666635663630666236643032633130643464613361363637623963303738386565343030 -62393031623932326563636130623932333139623633653839663036393464613839386435303434 -35353637386162663264633833643964313936663065383963333130666534643438393035313934 -32343232663831653037656238363732303063386431663530316136326430616434393834343437 -65626536653764303664386134383334626137326137636135646163626131376637393733376635 -65613331663536663832346135313730643662333438333833633538316665383665353536376464 -36313139303936363932363865626131636336326634333333336438616363383033316334346536 -62396637303931376264633463383238653762333335386631633434373736383166393134313931 -38646430356236393165653432333063646332643032313734356435343261323234623365386230 -36326461663131323136343637316135653638306331363631663533396333316237346532636636 -66303038333230326163363261313737663639343734626263393130666430616435353039626261 -35373831393039666339353630343333643231363135393436633236633030303935373565646463 -63666135346562396136616336643862386562663163326430623736626161313037353134353539 -65386237623664346139326131353931643163376134356230343531373434366637353665353863 -34323061366331356135366238636534303236343031653362623735333064363935373165666432 -35376531363263303636393266366466646465623635643366643237396234663635353731303637 -63643431353431636338373965623637386266353432633839356635303738396166656538363965 -65316565336533363130313736323361303039396131346337326230336239393331323564366261 -61656262376363666132373839373835303061313739383433636439343064616236386431353435 -32323566663337396231373033313066643436306533343736303332313334386563356661396263 -62623266373562613964623437306462623632366430653536366434323533646437323034346139 -37366361386335376466396432303561643763663861323135636264306139313039363931393535 -35633866396466663632356536646366303134333137336639623765643331313830623230663331 -38653936623939663565346662303434313862656436393836343165303536643461303364373038 -66363931646132663637663334333561653933383161333039616531623065333066326639366439 -65326664653131343031623362613463643532353630643336303161303366393265343337346138 -32616436343131303934613262303934346161313735306133313561303730623930313961313138 -66343238623939393430313136313964376261366164626536623436346263336263373130333836 -61326438373236646332653437646366386630386632613939333730353839326234356237383635 -66653837343032303238303638373262316539623932366663633835393039633131376539303966 -33336161646163383938376161356566336264626231323635343162623339383036303931313137 -36346266623061343462623866613538386164346664393661396334393032633434643762643932 -32366530306533323731383831383365346539306431393836663564636236353663393864633562 -35346565363666313564383136646435396230393365656565656463386362626335626231643635 -37666635656163663033366563343031373532376262363065343766363430383139346230356136 -39643366393939396234643433316436656532346333653335666466356637306266326139373661 -33323237313166393834313666653863326139663837313735316632313539636135393565313430 -30366132333865656630636132306436643635626631636364393431646536633336653536396331 -33396664346166643663666166383766323264633436346465343762373439396663663630643431 -62373366383732366166353231643239373730666334633231613138373230643364323532306363 -62353633616539646235383437636265306135306664313762363338666565616530333564356537 -65626336316335313962633437326462353037336166663539643465316463653536666130383635 -63656632376435616438613432383266633166323964376536613662653961313631663766643430 -34356630653135393433646134363535623063303738353663353436333965343262653330656538 -37363832613734376533346539306161346138623931613138663766343232643462643337336666 -34333836383561376130383562353736633833353035376361633561623961646565396537613130 -6131383463666266623339653339643431373737623737653533 +34366466616466626433323366326361303939326634643837643538356236646530373661613361 +3634343131313638386135383061383163313237356437620a663135356232383538373764643466 +63393839386538316165303937323132313837613764393262336135623439306638303838356634 +6431666235383834650a336537666162313535613835356365613638313835303465353737643437 +39343866323831663035363062663966373337326634626565366438396264643836313637633161 +63363663623665383830646637323866376331643635393266376632636461393265636433643465 +64383065323263393837326436623738343034663763663961396631343431383161313035373364 +64666236336339616430303666363032643530636362303438663030646463626631373066633231 +63646130393439393065366132656135373363633361626163323765666165346262386465633365 +38376532343631646365326533323738373134333232646232623838353761636466333233313436 +62633839333963613138373263363233346634396165626631373364616630643162393661306266 +34316335633437653764636337346438643135356336336136346264333939666337613535343664 +39346635656161383630363830613537623764653133326431313463333536313833323534366232 +63646664666433323163383166373863393465616562643437393730323766633533333563396438 +64636663356163613930626536386538313138633063386262613333383635356434623964306564 +33346234666131376330633532366636613561666231313661646661656432646232376336376639 +63373233303436356165653232626664353762626433343938623036323133353538353734346338 +32333033643939636438366237643932656538306637363237306164653664633532396262643031 +64396335623065636166316362643839313735356535396366333730336636353936356333366330 +66343464636235653533363130313735396465393862313662316232323831373234343931333837 +63373461323237316130616363316634356466396136633634313565333331356336623433623337 +37353733623662353733626462333538373033626464613035666265643061646663383139303963 +38626333366262666531646463386330626662646261633833393465326633363266656239656164 +39353463316164643435663132616666333930616137326332346537353735383434626339646163 +65336138636364303163373637373361653165356463363265366361613435616365646131616531 +36353865343766316662346432316539643438333733623333363031386439336363646133326439 +63323037303066663839346663383634643130633230373738303561363163646332643038666233 +65643535613334346237623963666233356133333462303030653365343066636461653262303232 +38616138373661643762336531356235636332393833393533393937646264663265373336376464 +31313934353863613234663765333136633331303030646265613135623865346438623038323434 +63326334313663373130366534623862623163656336353532383365313139313738323634663963 +64353735326664336232653030323261663336663864303862653236663066386232383536663832 +64666635633630643236303931663236306238633430666633393132313131653565643335636330 +65336631396566633332363665336665643531633335343464386432333762336564343463613165 +63366338343664363339653863343030353531303932633130336431623038316665346663613761 +36653066646332646238643265313266333239323637373333326539356465393561373631643064 +65386561663261383861646632363738343338633930353334323138633466333761376461366662 +66383834633564316464636133303335346138623166616336303635646233313961636538666134 +37323138346465303837653766346433663663656239356331613334336166346265373766393164 +65303433633735353132383332333530646163343562303439316163643865636361373964646466 +31653532643763313934633661303666666464363731343839663835383961383766656438646139 +66646234303039366631343034633466643330663437323337316132393232333238663566333638 +34383961356332663066346535323066313761653733363431373836636565656164336634316235 +64363265636239336633643566326665633732313734393335616438343432643661383731373935 +61396237373364383139396433326266333338316537666463353661653233306262626433666532 +39346538323631393562623166346535316238626263623931383930623636343765643833656436 +61663564353361396539343364346636313661323239336438636436336463373666643439656137 +34316230336435353131303831646231376332356232343564666430356162343263643430353631 +37343761616238626238313361633861353639316435613430616561613561376361623030393533 +31383663373938366537393130313565633136636137363366623734393235316132306138306233 +35633634656562623834356365376364353532653465613530613133623863666132316162643637 +33396534623336333262636533336261666462363138626464663132386263656238616566633164 +37663164316465326338373566336536346233363338346437626263623562306362613564306531 +3131366536313963393164383534373962613539663130303934 diff --git a/roles/docker_services/defaults/main.yml b/roles/docker_services/defaults/main.yml index ff53d2f..c2fb30e 100644 --- a/roles/docker_services/defaults/main.yml +++ b/roles/docker_services/defaults/main.yml @@ -24,7 +24,7 @@ services: volume: "{{ base_volume }}/samsapti.dev" version: 1-alpine - smp_server: + simplexmq_smp: domain: smp01.simplex.{{ base_domain }} onion: pcexmrs4eod35vdvidq47jce7mnsfm26j27anttoy4zprc25pulkcfyd.onion volume: "{{ base_volume }}/smp-server" diff --git a/roles/docker_services/tasks/services/smp_server.yml b/roles/docker_services/tasks/services/simplexmq_smp.yml similarity index 68% rename from roles/docker_services/tasks/services/smp_server.yml rename to roles/docker_services/tasks/services/simplexmq_smp.yml index 88b31a6..902e502 100644 --- a/roles/docker_services/tasks/services/smp_server.yml +++ b/roles/docker_services/tasks/services/simplexmq_smp.yml @@ -2,7 +2,7 @@ --- - name: Create SMP server volume directories ansible.builtin.file: - name: "{{ services.smp_server.volume }}/{{ dir }}" + name: "{{ services.simplexmq_smp.volume }}/{{ dir }}" owner: root mode: u=rwx,g=rx,o=rx state: directory @@ -17,7 +17,7 @@ name: smp-server state: "{{ 'absent' if stop is defined and stop else 'started' }}" restart: "{{ stop is undefined or not stop }}" - image: simplexchat/smp-server:{{ services.smp_server.version }} + image: simplexchat/smp-server:{{ services.simplexmq_smp.version }} restart_policy: always default_host_ip: '' networks: @@ -25,10 +25,10 @@ aliases: - smp-server env: - addr: "{{ services.smp_server.domain }}" + addr: "{{ services.simplexmq_smp.domain }}" volumes: - - "{{ services.smp_server.volume }}/config:/etc/opt/simplex:rw" - - "{{ services.smp_server.volume }}/logs:/var/opt/simplex:rw" + - "{{ services.simplexmq_smp.volume }}/config:/etc/opt/simplex:rw" + - "{{ services.simplexmq_smp.volume }}/logs:/var/opt/simplex:rw" published_ports: - 5223:5223/tcp labels: diff --git a/roles/docker_services/tasks/services/tor.yml b/roles/docker_services/tasks/services/tor.yml index f2a6d56..29b7c4e 100644 --- a/roles/docker_services/tasks/services/tor.yml +++ b/roles/docker_services/tasks/services/tor.yml @@ -27,6 +27,6 @@ SMPSERVER_TOR_SERVICE_HOSTS: 5223:smp-server:5223 SMPSERVER_TOR_SERVICE_VERSION: '3' - SMPSERVER_TOR_SERVICE_KEY: "{{ secrets.tor.smp_server_key }}" + SMPSERVER_TOR_SERVICE_KEY: "{{ secrets.tor.simplexmq_smp_key }}" networks: - name: tor