{"id":80289,"date":"2020-05-05T01:42:36","date_gmt":"2020-05-04T23:42:36","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/ansible-migracziya-konfiguraczii-120-vm-c-coreos-na-centos-za-18-mesyaczev"},"modified":"2020-05-05T01:42:36","modified_gmt":"2020-05-04T23:42:36","slug":"ansible-migracziya-konfiguraczii-120-vm-c-coreos-na-centos-za-18-mesyaczev","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/ansible-migracziya-konfiguraczii-120-vm-c-coreos-na-centos-za-18-mesyaczev","title":{"rendered":"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/c12bef0589cc29a2a63840ecf5572357.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Ky \u00ebsht\u00eb nj\u00eb p\u00ebrmbledhje e fjalimit n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/devopsconf.io\/moscow\/2019\/meetups#2331050\">DevopsConf 2019-10-01<\/a><\/noindex> dhe <noindex><a rel=\"nofollow\" href=\"http:\/\/spblug.org\/\">SPbLUG 2019-09-25<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p>Kjo \u00ebsht\u00eb historia e projektit, n\u00eb t\u00eb cilin u p\u00ebrdor nj\u00eb sistem i shkruar nga vet\u00eb p\u00ebr menaxhimin e konfigurimeve dhe si u zgjat kalimi n\u00eb Ansible p\u00ebr 18 muaj.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h2 id=\"den---hhh-before-the-beginning\">Dita \u2116 -XXX: Para fillimit<\/h2>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/22ebc514d85df93237e7f7d262a393a4.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Fillimisht, infrastruktura p\u00ebrb\u00ebnte nj\u00eb num\u00ebr hostesh t\u00eb ve\u00e7uar n\u00ebn menaxhimin e Hyper-V. Krijimi i nj\u00eb makine virtuale k\u00ebrkonte shum\u00eb veprime: vendosjen e disqeve n\u00eb vendin e duhur, konfigurimin e DNS, rezervimin e DHCP, vendosjen e konfiguracionit t\u00eb VM n\u00eb nj\u00eb depo git. Ky proces ishte pjes\u00ebrisht i mekanizuar, por p\u00ebr shembull, makinat virtuale shp\u00ebrndaheshin midis hosteve manualisht. Megjithat\u00eb, p\u00ebr shembull, zhvilluesit mund t\u00eb modificonin konfigurimin e VM n\u00eb git dhe ta aplikonin duke rinisur VM.<\/p>\n<p><\/p>\n<h3 id=\"custom-configuration-management-solution\">Zgjidhje e Personalizuar p\u00ebr Menaxhimin e Konfigurimeve<\/h3>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/166b61b7f70c49ba06e622cd3592826f.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Ideja fillestare, e dyshoj, ishte menduar si IaC: shum\u00eb VM pa gjendje, t\u00eb cilat, pas rinisjes, e rikthenin gjendjen e tyre n\u00eb null. Si dukej menaxhimi i konfigurimeve t\u00eb VM? Schematisht duket thjesht\u00eb:<\/p>\n<p><\/p>\n<ol>\n<li>P\u00ebr VM, u vendos nj\u00eb MAC statik.<\/li>\n<li>VM-at u lidh\u00ebn me ISO me CoreOS dhe diskun e b\u00ebr\u00eb p\u00ebr t'u ngarkuar.<\/li>\n<li>CoreOS nis nj\u00eb skript personalizimi duke e shkarkuar at\u00eb nga nj\u00eb server WEB n\u00eb baz\u00eb t\u00eb IP-s\u00eb s\u00eb tij.<\/li>\n<li>Skripti shkarkon p\u00ebrmes SCP konfigurimin e VM duke u bazuar n\u00eb adres\u00ebn IP.<\/li>\n<li>Nisin nj\u00eb s\u00ebr\u00eb skedar\u00ebsh systemd unit dhe nj\u00eb s\u00ebr\u00eb skriptesh bash.<\/li>\n<\/ol>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/6baa343ddc2b8df8812f2ed282e5bc3a.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Ky zgjidhje kishte shum\u00eb probleme t\u00eb dukshme:<\/p>\n<p><\/p>\n<ol>\n<li>ISO n\u00eb CoreOS ishte e deprecated.<\/li>\n<li>Shum\u00eb veprime dhe magji t\u00eb nd\u00ebrlikuara gjat\u00eb migrimit\/krijimi t\u00eb VM.<\/li>\n<li>V\u00ebshtir\u00ebsi n\u00eb p\u00ebrdit\u00ebsim dhe kur \u00ebsht\u00eb e nevojshme t\u00eb ket\u00eb nj\u00eb version t\u00eb caktuar t\u00eb softuerit. Edhe m\u00eb zbavit\u00ebse me modulet e b\u00ebrtham\u00ebs.<\/li>\n<li>VM-t\u00eb nuk ishin aq pa t\u00eb dh\u00ebna, pra, dol\u00ebn VM q\u00eb pat\u00ebn disqe t\u00eb montuara me t\u00eb dh\u00ebna nga p\u00ebrdoruesit p\u00ebrve\u00e7 k\u00ebsaj.<\/li>\n<li>P\u00ebrher\u00eb dikush b\u00ebnte gabime me var\u00ebsit\u00eb e unit systemd dhe n\u00eb rinisjen e CoreOS ngeciste. Ishte problematike t\u00eb kapje k\u00ebt\u00eb me mjetet ekzistuese n\u00eb CoreOS.<\/li>\n<li>Menaxhimi i sekreteve.<\/li>\n<li>CM pothuajse nuk kishte. Kishim bash dhe konfigurime YML t\u00eb CoreOS.<\/li>\n<\/ol>\n<p><\/p>\n<p>P\u00ebr t\u00eb aplikuar konfigurimin e VM, ishte e nevojshme ta rinisje, por ajo mund t\u00eb mos rinisej. Dukej si nj\u00eb problem i qart\u00eb, por nuk kishte disqe t\u00eb vazhdueshme \u2014 nuk kishte ku t\u00eb ruhej logun. Mir\u00eb, le t\u00eb p\u00ebrpiqemi t\u00eb shtojm\u00eb opsione t\u00eb ngarkes\u00ebs s\u00eb b\u00ebrtham\u00ebs q\u00eb logjet t\u00eb d\u00ebrgoheshin. Por jo, sa e komplikuar ishte gjith\u00e7ka.<\/p>\n<p><\/p>\n<h2 id=\"den-0-priznanie-problemy\">Dita \u21160: Pranimi i problemit<\/h2>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/d80b98b91624085d5d11fc54647a55bc.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Ishte nj\u00eb infrastruktur\u00eb e zakonshme zhvillimi: jenkins, ambientet testuese, monitorimet, registry. CoreOS ishte menduar p\u00ebr hostimin e klastereve k8s, pra problemi ishte se si p\u00ebrdorej CoreOS. Hapi i par\u00eb ishte zgjedhja e stack-ut. Ne u ndal\u00ebm tek:<\/p>\n<p><\/p>\n<ol>\n<li><strong>CentOS<\/strong> si distribucion bazik, pasi \u00ebsht\u00eb distribuicioni m\u00eb i af\u00ebrt me ambientet e prodhimit.<\/li>\n<li><strong>Ansible<\/strong> p\u00ebr menaxhimin e konfigurimeve, pasi kishte nj\u00eb ekspertiz\u00eb t\u00eb gjer\u00eb p\u00ebr t\u00eb.<\/li>\n<li><strong>Jenkins<\/strong> si nj\u00eb framework automatik p\u00ebr proceset ekzistuese, pasi ishte tashm\u00eb aktivisht i p\u00ebrdorur p\u00ebr proceset e zhvillimit.<\/li>\n<li><strong>Hyper-V<\/strong> si platform\u00eb virtualizimi. Ka disa arsye, t\u00eb cilat dalin p\u00ebrtej tregimit, por n\u00ebse e p\u00ebrmbledhim \u2014 nuk mund t\u00eb p\u00ebrdorim cloud, duhet t\u00eb p\u00ebrdorim harduerin ton\u00eb.<\/li>\n<\/ol>\n<p><\/p>\n<h3 id=\"den-30-fiksiruem-suschestvuyuschie-dogovorennosti---agreements-as-code\">Dita \u211630: Fiksojm\u00eb marr\u00ebveshjet ekzistuese \u2014 Agreements as Code<\/h3>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/47a8cc980940b5080e195267d686df25.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Kur u kuptua stack-u, filloi p\u00ebrgatitja p\u00ebr transferimin. Fiksimi i marr\u00ebveshjeve ekzistuese n\u00eb form\u00ebn e kodit (<strong>Agreements as Code<\/strong>!). Kalimi <em>pun\u00eb manuale<\/em> -&gt; <em>makinazhuar<\/em> -&gt; <em>automatizimi<\/em>.<\/p>\n<p><\/p>\n<h4 id=\"1-configure-vms\">1. Konfiguro VMs<\/h4>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/90b3c4ec5d4234fc218295bd9a34d676.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Ansible e b\u00ebn k\u00ebt\u00eb detyr\u00eb mjaft mir\u00eb. Me minimumin e l\u00ebvizjeve mund t\u00eb marrim n\u00eb menaxhim konfigurimet e VM-ve:<\/p>\n<p><\/p>\n<ol>\n<li>Krijojm\u00eb nj\u00eb repository git.<\/li>\n<li>Vendosim list\u00ebn e VM-ve n\u00eb inventory, konfigurimet n\u00eb playbooks dhe role.<\/li>\n<li>Konfigurojm\u00eb nj\u00eb jenkins slave t\u00eb ve\u00e7ant\u00eb nga e cila mund t\u00eb nisnim ansible.<\/li>\n<li>Krijojm\u00eb nj\u00eb job, konfigurojm\u00eb Jenkins.<\/li>\n<\/ol>\n<p><\/p>\n<p>Procesi i par\u00eb \u00ebsht\u00eb gati. Marr\u00ebveshjet jan\u00eb fikse.<\/p>\n<p><\/p>\n<h4 id=\"2-create-new-vm\">2. Krijo VM t\u00eb re<\/h4>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/3f6a02b170e28fd34e8f5fa65d1606c2.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>K\u00ebtu nuk ishte shum\u00eb e leht\u00eb. Nga Linux nuk \u00ebsht\u00eb shum\u00eb e leht\u00eb t\u00eb krijosh VM n\u00eb Hyper-V. Nj\u00eb nga p\u00ebrpjekjet p\u00ebr t\u00eb makinizuar k\u00ebt\u00eb proces ishte:<\/p>\n<p><\/p>\n<ol>\n<li>Ansible lidhet p\u00ebrmes WinRM me hostin windows.<\/li>\n<li>Ansible ekzekuton skriptin powershell.<\/li>\n<li>Skripti Powershell krijon nj\u00eb VM t\u00eb re.<\/li>\n<li>Me mjete Hyper-V\/ScVMM gjat\u00eb krijimit t\u00eb VM-s\u00eb n\u00eb OS t\u00eb mysafir\u00ebve, konfiguroni hostname.<\/li>\n<li>VM n\u00eb azhurnimin e DHCP lease d\u00ebrgon hostname-in e saj.<\/li>\n<li>Integrimi i zakonsh\u00ebm ddns &amp; dhcp n\u00eb an\u00ebn e Domain Controller konfiguron regjistrin DNS.<\/li>\n<li>Mund t\u00eb shtoni VM n\u00eb inventar dhe t\u00eb konfiguroni Ansible p\u00ebr t\u00eb.<\/li>\n<\/ol>\n<p><\/p>\n<h4 id=\"3-create-vm-template\">3. Krijo template t\u00eb VM<\/h4>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/f10929c1bd5b350c16bb691dce61653a.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>K\u00ebtu nuk u shpik asgj\u00eb \u2014 mor\u00ebm packer.<\/p>\n<p><\/p>\n<ol>\n<li>N\u00eb repository git vendosim konfigurimin e packer, kickstart.<\/li>\n<li>Konfigurojm\u00eb nj\u00eb jenkins slave t\u00eb ve\u00e7ant\u00eb me hyper-v dhe Packer.<\/li>\n<li>Krijojm\u00eb nj\u00eb job, konfigurojm\u00eb Jenkins.<\/li>\n<\/ol>\n<p><\/p>\n<p>Si funksionon ky bashk\u00ebpunim:<\/p>\n<p><\/p>\n<ol>\n<li>Packer krijon nj\u00eb VM bosh, lidh ISO.<\/li>\n<li>VM ngarkohet, Packer fut n\u00eb ngarkues komand\u00ebn p\u00ebr t\u00eb p\u00ebrdorur skedarin ton\u00eb kickstart nga disku ose http.<\/li>\n<li>Anaconda me konfigurimin ton\u00eb nis inicializimin e OS.<\/li>\n<li>Packer pret n\u00eb dispozicionin e VM-s\u00eb.<\/li>\n<li>Packer brenda VM-s\u00eb nis ansible n\u00eb modin lokal.<\/li>\n<li>Ansible p\u00ebrdor t\u00eb nj\u00ebjtat role si n\u00eb hapin \u21161.<\/li>\n<li>Packer eksporton \u0448\u0430\u0431\u043b\u043e\u043din e VM.<\/li>\n<\/ol>\n<p><\/p>\n<h3 id=\"den-75-refaktorim-dogovorennosti-ne-lomaya--test-ansible--testkitchen\">Dita \u211675: Riorganizojm\u00eb marr\u00ebveshjet pa prishur = Testo ansible + Testkitchen<\/h3>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/1b90074f3b17a77a732a259efdda518c.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>T\u00eb ngulisim marr\u00ebveshjet n\u00eb kod mund t\u00eb mos jet\u00eb e mjaftueshme. N\u00eb fund t\u00eb fundit, n\u00ebse n\u00eb thell\u00ebsi t\u00eb procesit d\u00ebshiron t\u00eb ndryshosh di\u00e7ka, mund t\u00eb prish\u00ebsh di\u00e7ka. Prandaj, n\u00eb rastin e infrastruktur\u00ebs kemi nevoj\u00eb p\u00ebr testimin e k\u00ebsaj infrastrukture. P\u00ebr t\u00eb sinkronizuar njohurit\u00eb brenda ekipit filluam t\u00eb testonim rolet e Ansible. Nuk do t\u00eb thellohem sepse ekziston nj\u00eb artikel q\u00eb p\u00ebrshkruan ngjarjet n\u00eb at\u00eb koh\u00eb. <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/437004\/\">M\u00eb testo n\u00ebse mundesh ose \u00ebnd\u00ebrrojn\u00eb YML programuesit p\u00ebr testimin e ansible?<\/a><\/noindex>(spoiler, kjo nuk ishte versione p\u00ebrfundimtare dhe m\u00eb von\u00eb gjith\u00e7ka u b\u00eb m\u00eb komplekse) <noindex><a rel=\"nofollow\" href=\"http:\/\/www.goncharov.xyz\/it\/ansible-testing-ru.html\">Si t\u00eb fillojm\u00eb t\u00eb testojm\u00eb Ansible, t\u00eb riorganizojm\u00eb projektin pas nj\u00eb viti dhe t\u00eb mos dalim nga mendja.<\/a><\/noindex>).<\/p>\n<p><\/p>\n<h3 id=\"den-130-a-mozhet-centosansible-ne-nuzhen-mozhet-openshift\">Dita \u2116130: A \u00ebsht\u00eb CentOS + ansible i panevojsh\u00ebm? Ndoshta openshift?<\/h3>\n<p><\/p>\n<p>Duhet t\u00eb kuptojm\u00eb se procesi i integrimit t\u00eb infrastruktur\u00ebs nuk ishte i vetmi dhe kishte projekte an\u00ebsore. P\u00ebr shembull, erdhi nj\u00eb k\u00ebrkes\u00eb p\u00ebr t\u00eb lan\u00e7uar aplikacionin ton\u00eb n\u00eb Openshift dhe kjo shkaktoi hulumtime q\u00eb zgjat\u00ebn m\u00eb shum\u00eb se nj\u00eb jav\u00eb. <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/441928\/\">Loksionojm\u00eb aplikacionin n\u00eb Openshift dhe krahasojm\u00eb mjetet ekzistuese.<\/a><\/noindex> \u00e7far\u00eb e ngadal\u00ebsoi procesin e migrimit. Rezultati doli se openshift nuk mbulon t\u00eb gjitha nevojat, \u00ebsht\u00eb e nevojshme nj\u00eb hardware real, ose t\u00eb pakt\u00ebn t\u00eb kemi mund\u00ebsin\u00eb t\u00eb luajm\u00eb me kernelin.<\/p>\n<p><\/p>\n<h3 id=\"den-170-openshift-ne-podhodit-risknem-s-windows-azure-pack\">Dita \u2116170: Openshift nuk \u00ebsht\u00eb i p\u00ebrshtatsh\u00ebm, a t\u00eb rrezikojm\u00eb me Windows Azure Pack?<\/h3>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/73cbf7fd7e0330676c4d937df68289f5.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Hyper-V nuk \u00ebsht\u00eb shum\u00eb miq\u00ebsor, SCVMM nuk e b\u00ebn shum\u00eb m\u00eb t\u00eb mir\u00eb. Por ka nj\u00eb gj\u00eb t\u00eb till\u00eb si Windows Azure Pack, e cila \u00ebsht\u00eb nj\u00eb shtres\u00eb mbi SCVMM dhe imiton Azure. Por realisht produkti duket i braktisur: dokumentacioni me lidhje t\u00eb prishura dhe shum\u00eb i varf\u00ebr. Por n\u00eb kuad\u00ebr t\u00eb hulumtimit t\u00eb mund\u00ebsive p\u00ebr t\u00eb leht\u00ebsuar jet\u00ebn e cloud-it ton\u00eb e kemi shqyrtuar edhe at\u00eb.<\/p>\n<p><\/p>\n<h3 id=\"den-250-windows-azure-pack-ne-ochen-ostaemsya-na-scvmm\">Dita \u2116250: Windows Azure Pack nuk \u00ebsht\u00eb shum\u00eb. Q\u00ebndrojm\u00eb me SCVMM.<\/h3>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/8753b3da72adfb035d1a2f23ad28809b.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Windows Azure Pack dukej shum\u00eb premtues, por u vendos q\u00eb t\u00eb mos sjellim WAP me kompleksitetet e tij n\u00eb sistem p\u00ebr shkak t\u00eb ve\u00e7orive t\u00eb panevojshme dhe mbet\u00ebm me SCVMM.<\/p>\n<p><\/p>\n<h3 id=\"den-360-edim-slona-po-chastyam\">Dita \u2116360: Ham\u00eb elefantin n\u00eb copa.<\/h3>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/84e003906234c46b57b7769abd7b7993.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Vet\u00ebm pas nj\u00eb viti platforma ku do t\u00eb migronim ishte gati dhe filloi procesi i migrimit. P\u00ebr k\u00ebt\u00eb ishte vendosur nj\u00eb detyr\u00eb S.M.A.R.T. P\u00ebrshkruam t\u00eb gjitha VM-t\u00eb dhe filluam t\u00eb merremi me konfigurimin nj\u00eb nga nj\u00eb, ta p\u00ebrshkruajm\u00eb at\u00eb n\u00eb Ansible dhe ta mbulojm\u00eb me teste.<\/p>\n<p><\/p>\n<h3 id=\"den-450-kakaya-sistema-poluchilas\">Dita \u2116450: \u00c7far\u00eb sistemi u krijua?<\/h3>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/1d0c64e6a229a0b4e0e49f7b832147ba.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Procesi vet\u00eb nuk \u00ebsht\u00eb i interesant. Ai \u00ebsht\u00eb rutin\u00eb, mund t\u00eb theksojm\u00eb se shumica e konfigurimeve ishin relativisht t\u00eb thjeshta ose izomorfe dhe sipas parimit t\u00eb Pareto, 80% e konfigurimeve k\u00ebrkoi 20% t\u00eb koh\u00ebs. N\u00eb t\u00eb nj\u00ebjtin parim, 80% e koh\u00ebs kaloi p\u00ebr p\u00ebrgatitjen e shp\u00ebrnguljes dhe vet\u00ebm 20% p\u00ebr shp\u00ebrnguljen vet\u00eb. <\/p>\n<p><\/p>\n<h2 id=\"den-540-final\">Dita \u2116540: Finale<\/h2>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS brenda 18 muajsh\" src=\"\/wp-content\/uploads\/2020\/05\/7e3d1936dca58506d3b8efcf4ee3c115.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>\u00c7far\u00eb ndodhi p\u00ebr 18 muajt?<\/p>\n<p><\/p>\n<ol>\n<li>Marr\u00ebveshjet u b\u00ebn\u00eb kod.<\/li>\n<li><em>Puna manuale<\/em> -&gt; <em>Mekanizimi<\/em> -&gt; <em>Automatizimi<\/em>.<\/li>\n<\/ol>\n<p><\/p>\n<h2 id=\"links\">Links<\/h2>\n<p><\/p>\n<ul>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/500350\/\">Versioni anglisht<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"http:\/\/www.goncharov.xyz\/it\/coreos2centos-ru.html\">Postim i kryq\u00ebzuar nga blogu im personal<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.mail.ru\/public\/UDCZ\/WM4Y9Qv3j\">slides<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/500058\/\">Si t\u00eb fillojm\u00eb t\u00eb testojm\u00eb Ansible, t\u00eb riorganizojm\u00eb projektin pas nj\u00eb viti dhe t\u00eb mos dalim nga mendja.<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/467171\/\">M\u00ebsimet e nxjerra nga testimi i mbi 200 000 rreshtave t\u00eb Kodit t\u00eb Infrastruktur\u00ebs<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/441928\/\">Le t\u00eb vendosim n\u00eb openshift<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/342216\/\">Si t\u00eb testoni shp\u00ebrndarjen tuaj t\u00eb vetme t\u00eb OS<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/437004\/\">Testo m\u00eb n\u00ebse mundesh. A \u00ebnd\u00ebrrojn\u00eb zhvilluesit e YML p\u00ebr testimin e ansible?<\/a><\/noindex><\/li>\n<\/ul>\n<p>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/500040\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u042d\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0430 \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u043d\u0430 DevopsConf 2019-10-01 \u0438 SPbLUG 2019-09-25. \u042d\u0442\u043e \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0441\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u043c\u0438 \u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u043f\u0435\u0440\u0435\u0435\u0437\u0434 \u043d\u0430 Ansible \u0437\u0430\u0442\u044f\u043d\u0443\u043b\u0441\u044f \u043d\u0430 18 \u043c\u0435\u0441\u044f\u0446\u0435\u0432. \u0414\u0435\u043d\u044c \u2116 -\u0425\u0425\u0425: Before the beginning \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u043b\u0430 \u0441\u043e\u0431\u043e\u0439 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0441\u0442\u043e\u044f\u0449\u0438\u0445 \u0445\u043e\u0441\u0442\u043e\u0432 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c Hyper-V. \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439: \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0434\u0438\u0441\u043a\u0438 \u0432 \u043d\u0443\u0436\u043d\u043e\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":80290,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-80289","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u042d\u0442\u043e.\" \/>\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\/sq\/blog\/administrirovanie\/ansible-migracziya-konfiguraczii-120-vm-c-coreos-na-centos-za-18-mesyaczev\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\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\udd47Ansible: \u041c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 120 VM c CoreOS \u043d\u0430 CentOS \u0437\u0430 18 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u042d\u0442\u043e.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/ansible-migracziya-konfiguraczii-120-vm-c-coreos-na-centos-za-18-mesyaczev\" \/>\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=\"2020-05-04T23:42:36+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-04T23:42:36+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\udd47Ansible: Migrimi i konfiguracionit t\u00eb 120 VM nga CoreOS n\u00eb CentOS p\u00ebr 18 muaj | ProHoster","description":"Kjo.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/ansible-migracziya-konfiguraczii-120-vm-c-coreos-na-centos-za-18-mesyaczev","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","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\udd47Ansible: \u041c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 120 VM c CoreOS \u043d\u0430 CentOS \u0437\u0430 18 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 | ProHoster","og:description":"\u042d\u0442\u043e.","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/ansible-migracziya-konfiguraczii-120-vm-c-coreos-na-centos-za-18-mesyaczev","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":"2020-05-04T23:42:36+00:00","article:modified_time":"2020-05-04T23:42:36+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"80289","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 16:21:22","updated":"2022-09-30 18:16:02","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/80289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=80289"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/80289\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/80290"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=80289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=80289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=80289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}