{"id":105255,"date":"2022-10-05T15:36:59","date_gmt":"2022-10-05T13:36:59","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/reliz-polemarch-2-1-web-interfejsa-dlya-ansible"},"modified":"2022-10-05T15:36:59","modified_gmt":"2022-10-05T13:36:59","slug":"reliz-polemarch-2-1-web-interfejsa-dlya-ansible","status":"publish","type":"post","link":"https:\/\/prohoster.info\/lv\/blog\/news\/reliz-polemarch-2-1-web-interfejsa-dlya-ansible","title":{"rendered":"Polemarch 2.1 izlai, t\u012bmek\u013ca saskarne Ansible","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Izlaista Polemarch 2.1.0, t\u012bmek\u013ca saskarne serveru infrastrukt\u016bras p\u0101rvald\u012bbai, kas balst\u012bta uz Ansible. Projekta kods ir uzrakst\u012bts Python un JavaScript valod\u0101s, izmantojot Django un Celery ietvarus. Projekts tiek izplat\u012bts saska\u0146\u0101 ar AGPLv3 licenci. Sist\u0113mas palai\u0161anai pietiek ar pakotnes instal\u0113\u0161anu un viena pakalpojuma palai\u0161anu. R\u016bpnieciskai lieto\u0161anai ieteicams papildus izmantot MySQL\/PostgreSQL un Redis\/RabbitMQ+Redis (ke\u0161atmi\u0146a un MQ brokeris). Katra versija veido Docker att\u0113lu.    <\/p>\n<p>Galvenie uzlabojumi:  <\/p>\n<ul>\n<li class=\"l\"> Ikn\u012bcijas laiks ir samazin\u0101ts un atmi\u0146as darb\u012bba optimiz\u0113ta, pateicoties liel\u0101 apjoma koda un da\u017e\u0101du atk\u0101rtoto sarakstu refaktor\u0113\u0161anai.\n<li class=\"l\"> Kod\u0113\u0161anas klon\u0113\u0161ana (git) vai lejupiel\u0101de (tar), kad ir iesl\u0113gta repo_sync_on_run, tagad tiek veikta tie\u0161i izpildes direktorij\u0101 no avota. \u0160\u012b funkcija ir \u012bpa\u0161i noder\u012bga tiem, kas izmanto Polemarch k\u0101 CI\/CD cauru\u013cvadu.\n<li class=\"l\"> Pievienota iesp\u0113ja nor\u0101d\u012bt maksim\u0101lo arh\u012bva lielumu, kas j\u0101iel\u0101d\u0113, sinhroniz\u0113jot projektu. Lielums tiek nor\u0101d\u012bts konfigur\u0101cijas fail\u0101 baitos un attiecas uz visiem projektiem.\n<li class=\"l\"> P\u0101rveidota funkcionalit\u0101te darbam, ja ir nor\u0101d\u012bts repo_sync_on_run_timeout, kur git projektiem \u0161is laiks tiek izmantots git cli laika ierobe\u017eojumiem, bet arh\u012bviem aptver savienojuma izveides laiku un gaid\u012b\u0161anas laiku pirms lejupiel\u0101des s\u0101kuma.\n<li class=\"l\"> Pievienota iesp\u0113ja nor\u0101d\u012bt citu ANSIBLE_CONFIG projekt\u0101. Taj\u0101 pa\u0161\u0101 laik\u0101 ir saglab\u0101ta iesp\u0113ja glob\u0101li nor\u0101d\u012bt noklus\u0113juma konfigur\u0101ciju projektiem, kuros nav ansible.cfg.\n<li class=\"l\"> Nov\u0113rstas nelielas k\u013c\u016bdas un neskaidr\u012bbas saskarn\u0113 un atjaunin\u0101tas pamatbibliot\u0113kas.  <\/ul>\n<p>Avots: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=57874\">opennet.lv<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a Polemarch 2.1.0, web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 Ansible. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 Python \u0438 JavaScript \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 Django \u0438 Celery. \u041f\u0440\u043e\u0435\u043a\u0442 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 AGPLv3. \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c 1 \u0441\u0435\u0440\u0432\u0438\u0441. \u0414\u043b\u044f \u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c MySQL\/PostgreSQL \u0438 Redis\/RabbitMQ+Redis (\u043a\u044d\u0448 \u0438 \u0431\u0440\u043e\u043a\u0435\u0440 MQ). \u0414\u043b\u044f [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-105255","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a Polemarch 2.1.0, web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 Ansible. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 Python \u0438 JavaScript \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 Django \u0438 Celery.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/lv\/blog\/news\/reliz-polemarch-2-1-web-interfejsa-dlya-ansible\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5\" \/>\n\t\t<meta property=\"og:locale\" content=\"lv_LV\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0435\u043b\u0438\u0437 Polemarch 2.1, web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f Ansible | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a Polemarch 2.1.0, web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 Ansible. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 Python \u0438 JavaScript \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 Django \u0438 Celery.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/lv\/blog\/news\/reliz-polemarch-2-1-web-interfejsa-dlya-ansible\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-10-05T13:36:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-10-05T13:36:59+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Polemarch 2.1 izlai\u0161ana, t\u012bmek\u013ca saskarne Ansible | ProHoster","description":"Izlaista Polemarch 2.1.0, t\u012bmek\u013ca saskarne serveru infrastrukt\u016bras p\u0101rvald\u012bbai, kas balst\u012bta uz Ansible. Projekta kods ir uzrakst\u012bts Python un JavaScript valod\u0101s, izmantojot Django un Celery ietvarus.","canonical_url":"https:\/\/prohoster.info\/lv\/blog\/news\/reliz-polemarch-2-1-web-interfejsa-dlya-ansible","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"lv_LV","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0435\u043b\u0438\u0437 Polemarch 2.1, web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f Ansible | ProHoster","og:description":"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a Polemarch 2.1.0, web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 Ansible. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 Python \u0438 JavaScript \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 Django \u0438 Celery.","og:url":"https:\/\/prohoster.info\/lv\/blog\/news\/reliz-polemarch-2-1-web-interfejsa-dlya-ansible","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2022-10-05T13:36:59+00:00","article:modified_time":"2022-10-05T13:36:59+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts\/105255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/comments?post=105255"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts\/105255\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/media?parent=105255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/categories?post=105255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/tags?post=105255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}