{"id":8943,"date":"2025-12-04T07:10:09","date_gmt":"2025-12-04T07:10:09","guid":{"rendered":"https:\/\/aborrego.inscastellbisbal.net\/?p=8943"},"modified":"2025-12-10T08:00:03","modified_gmt":"2025-12-10T08:00:03","slug":"desplegament-amb-vagrant","status":"publish","type":"post","link":"https:\/\/aborrego.inscastellbisbal.net\/en\/2025\/12\/04\/desplegament-amb-vagrant\/","title":{"rendered":"Desplegament amb vagrant"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"8943\" class=\"elementor elementor-8943\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-71c6d2d elementor-section-height-min-height elementor-section-items-top elementor-section-boxed elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no elementor-invisible\" data-id=\"71c6d2d\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;animation&quot;:&quot;fadeIn&quot;,&quot;shape_divider_top&quot;:&quot;mountains&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t<div class=\"elementor-shape elementor-shape-top\" aria-hidden=\"true\" data-negative=\"false\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 1000 100\" preserveAspectRatio=\"none\">\n\t<path class=\"elementor-shape-fill\" opacity=\"0.33\" d=\"M473,67.3c-203.9,88.3-263.1-34-320.3,0C66,119.1,0,59.7,0,59.7V0h1000v59.7 c0,0-62.1,26.1-94.9,29.3c-32.8,3.3-62.8-12.3-75.8-22.1C806,49.6,745.3,8.7,694.9,4.7S492.4,59,473,67.3z\"\/>\n\t<path class=\"elementor-shape-fill\" opacity=\"0.66\" d=\"M734,67.3c-45.5,0-77.2-23.2-129.1-39.1c-28.6-8.7-150.3-10.1-254,39.1 s-91.7-34.4-149.2,0C115.7,118.3,0,39.8,0,39.8V0h1000v36.5c0,0-28.2-18.5-92.1-18.5C810.2,18.1,775.7,67.3,734,67.3z\"\/>\n\t<path class=\"elementor-shape-fill\" d=\"M766.1,28.9c-200-57.5-266,65.5-395.1,19.5C242,1.8,242,5.4,184.8,20.6C128,35.8,132.3,44.9,89.9,52.5C28.6,63.7,0,0,0,0 h1000c0,0-9.9,40.9-83.6,48.1S829.6,47,766.1,28.9z\"\/>\n<\/svg>\t\t<\/div>\n\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-26129c8\" data-id=\"26129c8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-420e1a0 elementor-invisible elementor-widget elementor-widget-heading\" data-id=\"420e1a0\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInUp&quot;,&quot;_animation_delay&quot;:500}\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Desplegament amb vagarant<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5b32409 elementor-widget elementor-widget-spacer\" data-id=\"5b32409\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1ea788c elementor-widget elementor-widget-spacer\" data-id=\"1ea788c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-2f8bc8b\" data-id=\"2f8bc8b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7b55f3f elementor-align-left elementor-widget elementor-widget-button\" data-id=\"7b55f3f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm elementor-animation-float\" href=\"https:\/\/aborrego.inscastellbisbal.net\/repte-2-2-makrosoft\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Tornar al repte 2.2<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t<div class=\"elementor-element elementor-element-f3bd3c3 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-parent\" data-id=\"f3bd3c3\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e436d5a elementor-widget elementor-widget-spacer\" data-id=\"e436d5a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d24eab1 elementor-widget elementor-widget-text-editor\" data-id=\"d24eab1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 dir=\"auto\"><strong>Per qu\u00e8 triar Vagrant<\/strong><\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b6935d5 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-parent\" data-id=\"b6935d5\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-d20fe21 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-child\" data-id=\"d20fe21\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-64c4416 elementor-widget elementor-widget-text-editor\" data-id=\"64c4416\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 dir=\"auto\"><strong>Eina \/ M\u00e8tode<\/strong><\/h3><p dir=\"auto\">Nom\u00e9s VirtualBox\/VMware manual<\/p><h3 dir=\"auto\"><strong>Qu\u00e8 fa<\/strong><\/h3><p>Crear i configurar VMs a m\u00e0<\/p><h3 dir=\"auto\"><strong>Avantatges<\/strong><\/h3><p>Control total<\/p><h3 dir=\"auto\"><strong>Problemes per a aquest repte<\/strong><\/h3><p>Molt temps, no reproducible, cada persona ho fa diferent<\/p><h3 dir=\"auto\"><strong>Per qu\u00e8 NO l\u2019he triat<\/strong><\/h3><p>No \u00e9s portable ni repetible<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-d3ac679 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-child\" data-id=\"d3ac679\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ce50c86 elementor-widget elementor-widget-text-editor\" data-id=\"ce50c86\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 dir=\"auto\"><strong>Eina \/ M\u00e8tode<\/strong><\/h3><p dir=\"auto\">Docker<\/p><h3 dir=\"auto\"><strong>Qu\u00e8 fa<\/strong><\/h3><p dir=\"auto\">Contenidors lleugers<\/p><h3 dir=\"auto\"><strong>Avantatges<\/strong><\/h3><p dir=\"auto\">Molt r\u00e0pid i lleuger<\/p><h3 dir=\"auto\"><strong>Problemes per a aquest repte<\/strong><\/h3><p dir=\"auto\">No \u00e9s una m\u00e0quina completa \u2192 no puc provar diferents SO ni instal\u00b7lar serveis que necessitin un kernel diferent<\/p><h3 dir=\"auto\"><strong>Per qu\u00e8 NO l\u2019he triat<\/strong><\/h3><p dir=\"auto\">No cobreix el 100 % dels casos del repte<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-c8f84f4 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-child\" data-id=\"c8f84f4\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a74c32f elementor-widget elementor-widget-text-editor\" data-id=\"a74c32f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 dir=\"auto\"><strong>Eina \/ M\u00e8tode<\/strong><\/h3><p dir=\"auto\">Ansible (nom\u00e9s configuraci\u00f3)<\/p><h3 dir=\"auto\"><strong>Qu\u00e8 fa<\/strong><\/h3><p dir=\"auto\">Configura m\u00e0quines ja existents<\/p><h3 dir=\"auto\"><strong>Avantatges<\/strong><\/h3><p dir=\"auto\">Excel\u00b7lent per configuraci\u00f3<\/p><h3 dir=\"auto\"><strong>Problemes per a aquest repte<\/strong><\/h3><p dir=\"auto\">No crea ni gestiona les VMs, he de fer-ho a m\u00e0 abans<\/p><h3 dir=\"auto\"><strong>Per qu\u00e8 NO l\u2019he triat<\/strong><\/h3><p dir=\"auto\">Soluci\u00f3 a mitges<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-54df0d7 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-child\" data-id=\"54df0d7\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9f83db7 elementor-widget elementor-widget-text-editor\" data-id=\"9f83db7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 dir=\"auto\"><strong>Eina \/ M\u00e8tode<\/strong><\/h3><p dir=\"auto\">Vagrant<\/p><h3 dir=\"auto\"><strong>Qu\u00e8 fa<\/strong><\/h3><p dir=\"auto\">Crea i configura VMs autom\u00e0ticament<\/p><h3 dir=\"auto\"><strong>Avantatges<\/strong><\/h3><p dir=\"auto\">\u2192 Un sol fitxer (Vagrantfile) \u2192 Funciona igual a Windows, Mac i Linux \u2192 vagrant up i ja est\u00e0 \u2192 Pots usar VirtualBox, VMware, Hyper-V o fins i tot<\/p><h3 dir=\"auto\"><strong>Problemes per a aquest repte<\/strong><\/h3><p dir=\"auto\">Cap desavantatge important per aquest \u00fas<\/p><h3 dir=\"auto\"><strong>Per qu\u00e8 NO l\u2019he triat<\/strong><\/h3><p dir=\"auto\">\u00c9s la millor opci\u00f3<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-947eb21 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-parent\" data-id=\"947eb21\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6ea620f elementor-widget elementor-widget-text-editor\" data-id=\"6ea620f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 dir=\"auto\"><strong>Motius concrets pels quals Vagrant \u00e9s la millor elecci\u00f3 aqu\u00ed<\/strong><\/h3><ul><li><strong>Portabilitat total<\/strong> \u2013 Tothom de l\u2019equip (o el professor) nom\u00e9s ha de fer vagrant up i t\u00e9 exactament el mateix entorn, independentment del seu sistema operatiu.<\/li><li><strong>Reprodu\u00efbilitat 100 %<\/strong> \u2013 Tot queda escrit en un sol fitxer Vagrantfile (box, mem\u00f2ria, ports, carpetes compartides, provisioning amb shell\/Ansible\/Puppet\u2026).<\/li><li><strong>Facilitat extrema<\/strong> \u2013 En 10-15 l\u00ednies de codi tinc una VM amb Ubuntu 24.04, 2 GB RAM, port 8080 redirigit, carpeta del projecte sincronitzada i paquets instal\u00b7lats autom\u00e0ticament..<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-acc417d e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-parent\" data-id=\"acc417d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0f49308 elementor-widget elementor-widget-text-editor\" data-id=\"0f49308\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3 dir=\"auto\"><strong>Desplegament Vagrant<\/strong><\/h3><p>Estructura de carpetes:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-ba4f484 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-parent\" data-id=\"ba4f484\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-14ba095 elementor-widget elementor-widget-image\" data-id=\"14ba095\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"601\" height=\"73\" src=\"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_020.png\" class=\"attachment-large size-large wp-image-8957\" alt=\"\" srcset=\"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_020.png 601w, https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_020-300x36.png 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-420bdce e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-parent\" data-id=\"420bdce\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a98bc42 elementor-widget elementor-widget-text-editor\" data-id=\"a98bc42\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Dins de la carpeta desplegament_vagrant2 hi ha un Vagrantfile, configurat amb les boxes que necessitem:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-8038f75 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-parent\" data-id=\"8038f75\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3360eb4 elementor-widget elementor-widget-image\" data-id=\"3360eb4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"622\" height=\"175\" src=\"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_024.png\" class=\"attachment-large size-large wp-image-8986\" alt=\"\" srcset=\"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_024.png 622w, https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_024-300x84.png 300w\" sizes=\"(max-width: 622px) 100vw, 622px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-8623cee e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-parent\" data-id=\"8623cee\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c734ab9 elementor-widget elementor-widget-code-block-for-elementor\" data-id=\"c734ab9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-block-for-elementor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-javascript'># -*- mode: ruby -*-\n# vi: set ft=ruby :\n\nVagrant.configure(&quot;2&quot;) do |config|\n\n  # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n  #  Windows 10\n  # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n  config.vm.define &quot;win10&quot; do |win|\n    win.vm.box = &quot;windows10-local&quot;\n    win.vm.hostname = &quot;win10-local&quot;\n\n    # Bridge: tria tu la interf&iacute;cie de xarxa (Wi-Fi o cable)\n    win.vm.network &quot;public_network&quot;, bridge: &quot;enp3s0&quot;  # Linux\n    # win.vm.network &quot;public_network&quot;, bridge: &quot;Wi-Fi&quot;        # Windows (nom exacte de la teva targeta)\n    # win.vm.network &quot;public_network&quot;, bridge: &quot;en0: Wi-Fi&quot;   # macOS (normalment en0 o en1)\n\n    win.vm.provider &quot;virtualbox&quot; do |vb|\n      vb.name = &quot;Windows10-Local-Bridge&quot;\n      vb.memory = 8192      # 8 GB RAM (ajusta si cal)\n      vb.cpus = 4\n      vb.gui = true         # posa false si la vols headless\n      vb.customize [&quot;modifyvm&quot;, :id, &quot;--vram&quot;, &quot;128&quot;]\n      vb.customize [&quot;modifyvm&quot;, :id, &quot;--clipboard&quot;, &quot;bidirectional&quot;]\n      vb.customize [&quot;modifyvm&quot;, :id, &quot;--draganddrop&quot;, &quot;bidirectional&quot;]\n    end\n  end\n\n  # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n  #  Ubuntu\n  # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n  config.vm.define &quot;ubuntu&quot;, primary: true do |ub|\n    ub.vm.box = &quot;ubuntu-local&quot;\n    ub.vm.hostname = &quot;ubuntu-local&quot;\n\n    ub.vm.network &quot;public_network&quot;, bridge: &quot;enp3s0&quot;  # canvia pel teu adaptador\n\n    ub.vm.provider &quot;virtualbox&quot; do |vb|\n      vb.name = &quot;Ubuntu-Local-Bridge&quot;\n      vb.memory = 4096\n      vb.cpus = 2\n      vb.gui = true\n    end\n  end\n\n  # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n  #  Debian\n  # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n  config.vm.define &quot;debian&quot; do |deb|\n    deb.vm.box = &quot;debian-local&quot;\n    deb.vm.hostname = &quot;debian-local&quot;\n\n    deb.vm.network &quot;public_network&quot;, bridge: &quot;enp3s0&quot;  # canvia pel teu adaptador\n\n    deb.vm.provider &quot;virtualbox&quot; do |vb|\n      vb.name = &quot;Debian-Local-Bridge&quot;\n      vb.memory = 2048\n      vb.cpus = 2\n      vb.gui = true\n    end\n  end\n\nend<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-060cf4c e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-parent\" data-id=\"060cf4c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-12dc5b4 elementor-widget elementor-widget-text-editor\" data-id=\"12dc5b4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Si fem vagrant up &#8220;nom_box&#8221; la m\u00e0quina es crea.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-28c72f6 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no e-con e-parent\" data-id=\"28c72f6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-297d8dd elementor-widget elementor-widget-image\" data-id=\"297d8dd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"658\" height=\"221\" src=\"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_025.png\" class=\"attachment-large size-large wp-image-8987\" alt=\"\" srcset=\"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_025.png 658w, https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_025-300x101.png 300w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-249a1f8 elementor-widget elementor-widget-image\" data-id=\"249a1f8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"474\" src=\"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_026.png\" class=\"attachment-large size-large wp-image-8988\" alt=\"\" srcset=\"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_026.png 760w, https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_026-300x203.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Desplegament amb vagarant Tornar al repte 2.2 Per qu\u00e8 triar Vagrant Eina \/ M\u00e8tode Nom\u00e9s VirtualBox\/VMware manual Qu\u00e8 fa Crear i configurar VMs a m\u00e0 Avantatges Control total Problemes per a aquest repte Molt temps, no reproducible, cada persona ho fa diferent Per qu\u00e8 NO l\u2019he triat No \u00e9s portable ni repetible Eina \/ M\u00e8tode Docker Qu\u00e8 fa Contenidors lleugers Avantatges Molt r\u00e0pid i lleuger Problemes per a aquest repte No \u00e9s una m\u00e0quina completa \u2192 no puc provar diferents SO ni instal\u00b7lar serveis que necessitin un kernel diferent Per qu\u00e8 NO l\u2019he triat No cobreix el 100 % dels casos del repte Eina \/ M\u00e8tode Ansible (nom\u00e9s configuraci\u00f3) Qu\u00e8 fa Configura m\u00e0quines ja existents Avantatges Excel\u00b7lent per configuraci\u00f3 Problemes per a aquest repte No crea ni gestiona les VMs, he de fer-ho a m\u00e0 abans Per qu\u00e8 NO l\u2019he triat Soluci\u00f3 a mitges Eina \/ M\u00e8tode Vagrant Qu\u00e8 fa Crea i configura VMs autom\u00e0ticament Avantatges \u2192 Un sol fitxer (Vagrantfile) \u2192 Funciona igual a Windows, Mac i Linux \u2192 vagrant up i ja est\u00e0 \u2192 Pots usar VirtualBox, VMware, Hyper-V o fins i tot Problemes per a aquest repte Cap desavantatge important per aquest \u00fas Per qu\u00e8 NO l\u2019he triat \u00c9s la millor opci\u00f3 Motius concrets pels quals Vagrant \u00e9s la millor elecci\u00f3 aqu\u00ed Portabilitat total \u2013 Tothom de l\u2019equip (o el professor) nom\u00e9s ha de fer vagrant up i t\u00e9 exactament el mateix entorn, independentment del seu sistema operatiu. Reprodu\u00efbilitat 100 % \u2013 Tot queda escrit en un sol fitxer Vagrantfile (box, mem\u00f2ria, ports, carpetes compartides, provisioning amb shell\/Ansible\/Puppet\u2026). Facilitat extrema \u2013 En 10-15 l\u00ednies de codi tinc una VM amb Ubuntu 24.04, 2 GB RAM, port 8080 redirigit, carpeta del projecte sincronitzada i paquets instal\u00b7lats autom\u00e0ticament.. Desplegament Vagrant Estructura de carpetes: Dins de la carpeta desplegament_vagrant2 hi ha un Vagrantfile, configurat amb les boxes que necessitem: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(&quot;2&quot;) do |config| # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 # Windows 10 # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 config.vm.define &quot;win10&quot; do |win| win.vm.box = &quot;windows10-local&quot; win.vm.hostname = &quot;win10-local&quot; # Bridge: tria tu la interf&iacute;cie de xarxa (Wi-Fi o cable) win.vm.network &quot;public_network&quot;, bridge: &quot;enp3s0&quot; # Linux # win.vm.network &quot;public_network&quot;, bridge: &quot;Wi-Fi&quot; # Windows (nom exacte de la teva targeta) # win.vm.network &quot;public_network&quot;, bridge: &quot;en0: Wi-Fi&quot; # macOS (normalment en0 o en1) win.vm.provider &quot;virtualbox&quot; do |vb| vb.name = &quot;Windows10-Local-Bridge&quot; vb.memory = 8192 # 8 GB RAM (ajusta si cal) vb.cpus = 4 vb.gui = true # posa false si la vols headless vb.customize [&quot;modifyvm&quot;, :id, &quot;&#8211;vram&quot;, &quot;128&quot;] vb.customize [&quot;modifyvm&quot;, :id, &quot;&#8211;clipboard&quot;, &quot;bidirectional&quot;] vb.customize [&quot;modifyvm&quot;, :id, &quot;&#8211;draganddrop&quot;, &quot;bidirectional&quot;] end end # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 # Ubuntu # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 config.vm.define &quot;ubuntu&quot;, primary: true do |ub| ub.vm.box = &quot;ubuntu-local&quot; ub.vm.hostname = &quot;ubuntu-local&quot; ub.vm.network &quot;public_network&quot;, bridge: &quot;enp3s0&quot; # canvia pel teu adaptador ub.vm.provider &quot;virtualbox&quot; do |vb| vb.name = &quot;Ubuntu-Local-Bridge&quot; vb.memory = 4096 vb.cpus = 2 vb.gui = true end end # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 # Debian # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 config.vm.define &quot;debian&quot; do |deb| deb.vm.box = &quot;debian-local&quot; deb.vm.hostname = &quot;debian-local&quot; deb.vm.network &quot;public_network&quot;, bridge: &quot;enp3s0&quot; # canvia pel teu adaptador deb.vm.provider &quot;virtualbox&quot; do |vb| vb.name = &quot;Debian-Local-Bridge&quot; vb.memory = 2048 vb.cpus = 2 vb.gui = true end end end Si fem vagrant up &#8220;nom_box&#8221; la m\u00e0quina es crea.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8943","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Desplegament amb vagrant - Ana Borrego Toledo<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Desplegament amb vagrant - Ana Borrego Toledo\" \/>\n<meta property=\"og:description\" content=\"Desplegament amb vagarant Tornar al repte 2.2 Per qu\u00e8 triar Vagrant Eina \/ M\u00e8tode Nom\u00e9s VirtualBox\/VMware manual Qu\u00e8 fa Crear i configurar VMs a m\u00e0 Avantatges Control total Problemes per a aquest repte Molt temps, no reproducible, cada persona ho fa diferent Per qu\u00e8 NO l\u2019he triat No \u00e9s portable ni repetible Eina \/ M\u00e8tode Docker Qu\u00e8 fa Contenidors lleugers Avantatges Molt r\u00e0pid i lleuger Problemes per a aquest repte No \u00e9s una m\u00e0quina completa \u2192 no puc provar diferents SO ni instal\u00b7lar serveis que necessitin un kernel diferent Per qu\u00e8 NO l\u2019he triat No cobreix el 100 % dels casos del repte Eina \/ M\u00e8tode Ansible (nom\u00e9s configuraci\u00f3) Qu\u00e8 fa Configura m\u00e0quines ja existents Avantatges Excel\u00b7lent per configuraci\u00f3 Problemes per a aquest repte No crea ni gestiona les VMs, he de fer-ho a m\u00e0 abans Per qu\u00e8 NO l\u2019he triat Soluci\u00f3 a mitges Eina \/ M\u00e8tode Vagrant Qu\u00e8 fa Crea i configura VMs autom\u00e0ticament Avantatges \u2192 Un sol fitxer (Vagrantfile) \u2192 Funciona igual a Windows, Mac i Linux \u2192 vagrant up i ja est\u00e0 \u2192 Pots usar VirtualBox, VMware, Hyper-V o fins i tot Problemes per a aquest repte Cap desavantatge important per aquest \u00fas Per qu\u00e8 NO l\u2019he triat \u00c9s la millor opci\u00f3 Motius concrets pels quals Vagrant \u00e9s la millor elecci\u00f3 aqu\u00ed Portabilitat total \u2013 Tothom de l\u2019equip (o el professor) nom\u00e9s ha de fer vagrant up i t\u00e9 exactament el mateix entorn, independentment del seu sistema operatiu. Reprodu\u00efbilitat 100 % \u2013 Tot queda escrit en un sol fitxer Vagrantfile (box, mem\u00f2ria, ports, carpetes compartides, provisioning amb shell\/Ansible\/Puppet\u2026). Facilitat extrema \u2013 En 10-15 l\u00ednies de codi tinc una VM amb Ubuntu 24.04, 2 GB RAM, port 8080 redirigit, carpeta del projecte sincronitzada i paquets instal\u00b7lats autom\u00e0ticament.. Desplegament Vagrant Estructura de carpetes: Dins de la carpeta desplegament_vagrant2 hi ha un Vagrantfile, configurat amb les boxes que necessitem: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(&quot;2&quot;) do |config| # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 # Windows 10 # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 config.vm.define &quot;win10&quot; do |win| win.vm.box = &quot;windows10-local&quot; win.vm.hostname = &quot;win10-local&quot; # Bridge: tria tu la interf&iacute;cie de xarxa (Wi-Fi o cable) win.vm.network &quot;public_network&quot;, bridge: &quot;enp3s0&quot; # Linux # win.vm.network &quot;public_network&quot;, bridge: &quot;Wi-Fi&quot; # Windows (nom exacte de la teva targeta) # win.vm.network &quot;public_network&quot;, bridge: &quot;en0: Wi-Fi&quot; # macOS (normalment en0 o en1) win.vm.provider &quot;virtualbox&quot; do |vb| vb.name = &quot;Windows10-Local-Bridge&quot; vb.memory = 8192 # 8 GB RAM (ajusta si cal) vb.cpus = 4 vb.gui = true # posa false si la vols headless vb.customize [&quot;modifyvm&quot;, :id, &quot;--vram&quot;, &quot;128&quot;] vb.customize [&quot;modifyvm&quot;, :id, &quot;--clipboard&quot;, &quot;bidirectional&quot;] vb.customize [&quot;modifyvm&quot;, :id, &quot;--draganddrop&quot;, &quot;bidirectional&quot;] end end # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 # Ubuntu # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 config.vm.define &quot;ubuntu&quot;, primary: true do |ub| ub.vm.box = &quot;ubuntu-local&quot; ub.vm.hostname = &quot;ubuntu-local&quot; ub.vm.network &quot;public_network&quot;, bridge: &quot;enp3s0&quot; # canvia pel teu adaptador ub.vm.provider &quot;virtualbox&quot; do |vb| vb.name = &quot;Ubuntu-Local-Bridge&quot; vb.memory = 4096 vb.cpus = 2 vb.gui = true end end # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 # Debian # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 config.vm.define &quot;debian&quot; do |deb| deb.vm.box = &quot;debian-local&quot; deb.vm.hostname = &quot;debian-local&quot; deb.vm.network &quot;public_network&quot;, bridge: &quot;enp3s0&quot; # canvia pel teu adaptador deb.vm.provider &quot;virtualbox&quot; do |vb| vb.name = &quot;Debian-Local-Bridge&quot; vb.memory = 2048 vb.cpus = 2 vb.gui = true end end end Si fem vagrant up &#8220;nom_box&#8221; la m\u00e0quina es crea.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/aborrego.inscastellbisbal.net\/en\/2025\/12\/04\/desplegament-amb-vagrant\/\" \/>\n<meta property=\"og:site_name\" content=\"Ana Borrego Toledo\" \/>\n<meta property=\"article:published_time\" content=\"2025-12-04T07:10:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-10T08:00:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_020.png\" \/>\n\t<meta property=\"og:image:width\" content=\"601\" \/>\n\t<meta property=\"og:image:height\" content=\"73\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"aborrego\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"aborrego\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/2025\\\/12\\\/04\\\/desplegament-amb-vagrant\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/2025\\\/12\\\/04\\\/desplegament-amb-vagrant\\\/\"},\"author\":{\"name\":\"aborrego\",\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/#\\\/schema\\\/person\\\/596b5d3dc4735c43cfaafed47741b9d1\"},\"headline\":\"Desplegament amb vagrant\",\"datePublished\":\"2025-12-04T07:10:09+00:00\",\"dateModified\":\"2025-12-10T08:00:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/2025\\\/12\\\/04\\\/desplegament-amb-vagrant\\\/\"},\"wordCount\":330,\"publisher\":{\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/2025\\\/12\\\/04\\\/desplegament-amb-vagrant\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Selection_020.png\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/2025\\\/12\\\/04\\\/desplegament-amb-vagrant\\\/\",\"url\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/2025\\\/12\\\/04\\\/desplegament-amb-vagrant\\\/\",\"name\":\"Desplegament amb vagrant - Ana Borrego Toledo\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/2025\\\/12\\\/04\\\/desplegament-amb-vagrant\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/2025\\\/12\\\/04\\\/desplegament-amb-vagrant\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Selection_020.png\",\"datePublished\":\"2025-12-04T07:10:09+00:00\",\"dateModified\":\"2025-12-10T08:00:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/2025\\\/12\\\/04\\\/desplegament-amb-vagrant\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/2025\\\/12\\\/04\\\/desplegament-amb-vagrant\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/2025\\\/12\\\/04\\\/desplegament-amb-vagrant\\\/#primaryimage\",\"url\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Selection_020.png\",\"contentUrl\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Selection_020.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/2025\\\/12\\\/04\\\/desplegament-amb-vagrant\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Desplegament amb vagrant\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/#website\",\"url\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/\",\"name\":\"Ana Borrego Toledo\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/#organization\",\"name\":\"Ana Borrego Toledo\",\"url\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-Selection_255.png\",\"contentUrl\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-Selection_255.png\",\"width\":549,\"height\":328,\"caption\":\"Ana Borrego Toledo\"},\"image\":{\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/#\\\/schema\\\/person\\\/596b5d3dc4735c43cfaafed47741b9d1\",\"name\":\"aborrego\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e158785622f9364a28d322a7a8711e2ea34ebb67263b57ff915d7b49cb3cf0d1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e158785622f9364a28d322a7a8711e2ea34ebb67263b57ff915d7b49cb3cf0d1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e158785622f9364a28d322a7a8711e2ea34ebb67263b57ff915d7b49cb3cf0d1?s=96&d=mm&r=g\",\"caption\":\"aborrego\"},\"sameAs\":[\"https:\\\/\\\/aborrego.inscastellbisbal.net\",\"https:\\\/\\\/www.instagram.com\\\/anaaaa.aaaaaaaaaaaaaaaaaaaaa?igsh=MWVqcmx5MXl5eGdxaw==\"],\"url\":\"https:\\\/\\\/aborrego.inscastellbisbal.net\\\/en\\\/author\\\/aborrego\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Desplegament amb vagrant - Ana Borrego Toledo","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Desplegament amb vagrant - Ana Borrego Toledo","og_description":"Desplegament amb vagarant Tornar al repte 2.2 Per qu\u00e8 triar Vagrant Eina \/ M\u00e8tode Nom\u00e9s VirtualBox\/VMware manual Qu\u00e8 fa Crear i configurar VMs a m\u00e0 Avantatges Control total Problemes per a aquest repte Molt temps, no reproducible, cada persona ho fa diferent Per qu\u00e8 NO l\u2019he triat No \u00e9s portable ni repetible Eina \/ M\u00e8tode Docker Qu\u00e8 fa Contenidors lleugers Avantatges Molt r\u00e0pid i lleuger Problemes per a aquest repte No \u00e9s una m\u00e0quina completa \u2192 no puc provar diferents SO ni instal\u00b7lar serveis que necessitin un kernel diferent Per qu\u00e8 NO l\u2019he triat No cobreix el 100 % dels casos del repte Eina \/ M\u00e8tode Ansible (nom\u00e9s configuraci\u00f3) Qu\u00e8 fa Configura m\u00e0quines ja existents Avantatges Excel\u00b7lent per configuraci\u00f3 Problemes per a aquest repte No crea ni gestiona les VMs, he de fer-ho a m\u00e0 abans Per qu\u00e8 NO l\u2019he triat Soluci\u00f3 a mitges Eina \/ M\u00e8tode Vagrant Qu\u00e8 fa Crea i configura VMs autom\u00e0ticament Avantatges \u2192 Un sol fitxer (Vagrantfile) \u2192 Funciona igual a Windows, Mac i Linux \u2192 vagrant up i ja est\u00e0 \u2192 Pots usar VirtualBox, VMware, Hyper-V o fins i tot Problemes per a aquest repte Cap desavantatge important per aquest \u00fas Per qu\u00e8 NO l\u2019he triat \u00c9s la millor opci\u00f3 Motius concrets pels quals Vagrant \u00e9s la millor elecci\u00f3 aqu\u00ed Portabilitat total \u2013 Tothom de l\u2019equip (o el professor) nom\u00e9s ha de fer vagrant up i t\u00e9 exactament el mateix entorn, independentment del seu sistema operatiu. Reprodu\u00efbilitat 100 % \u2013 Tot queda escrit en un sol fitxer Vagrantfile (box, mem\u00f2ria, ports, carpetes compartides, provisioning amb shell\/Ansible\/Puppet\u2026). Facilitat extrema \u2013 En 10-15 l\u00ednies de codi tinc una VM amb Ubuntu 24.04, 2 GB RAM, port 8080 redirigit, carpeta del projecte sincronitzada i paquets instal\u00b7lats autom\u00e0ticament.. Desplegament Vagrant Estructura de carpetes: Dins de la carpeta desplegament_vagrant2 hi ha un Vagrantfile, configurat amb les boxes que necessitem: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(&quot;2&quot;) do |config| # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 # Windows 10 # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 config.vm.define &quot;win10&quot; do |win| win.vm.box = &quot;windows10-local&quot; win.vm.hostname = &quot;win10-local&quot; # Bridge: tria tu la interf&iacute;cie de xarxa (Wi-Fi o cable) win.vm.network &quot;public_network&quot;, bridge: &quot;enp3s0&quot; # Linux # win.vm.network &quot;public_network&quot;, bridge: &quot;Wi-Fi&quot; # Windows (nom exacte de la teva targeta) # win.vm.network &quot;public_network&quot;, bridge: &quot;en0: Wi-Fi&quot; # macOS (normalment en0 o en1) win.vm.provider &quot;virtualbox&quot; do |vb| vb.name = &quot;Windows10-Local-Bridge&quot; vb.memory = 8192 # 8 GB RAM (ajusta si cal) vb.cpus = 4 vb.gui = true # posa false si la vols headless vb.customize [&quot;modifyvm&quot;, :id, &quot;--vram&quot;, &quot;128&quot;] vb.customize [&quot;modifyvm&quot;, :id, &quot;--clipboard&quot;, &quot;bidirectional&quot;] vb.customize [&quot;modifyvm&quot;, :id, &quot;--draganddrop&quot;, &quot;bidirectional&quot;] end end # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 # Ubuntu # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 config.vm.define &quot;ubuntu&quot;, primary: true do |ub| ub.vm.box = &quot;ubuntu-local&quot; ub.vm.hostname = &quot;ubuntu-local&quot; ub.vm.network &quot;public_network&quot;, bridge: &quot;enp3s0&quot; # canvia pel teu adaptador ub.vm.provider &quot;virtualbox&quot; do |vb| vb.name = &quot;Ubuntu-Local-Bridge&quot; vb.memory = 4096 vb.cpus = 2 vb.gui = true end end # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 # Debian # \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 config.vm.define &quot;debian&quot; do |deb| deb.vm.box = &quot;debian-local&quot; deb.vm.hostname = &quot;debian-local&quot; deb.vm.network &quot;public_network&quot;, bridge: &quot;enp3s0&quot; # canvia pel teu adaptador deb.vm.provider &quot;virtualbox&quot; do |vb| vb.name = &quot;Debian-Local-Bridge&quot; vb.memory = 2048 vb.cpus = 2 vb.gui = true end end end Si fem vagrant up &#8220;nom_box&#8221; la m\u00e0quina es crea.","og_url":"https:\/\/aborrego.inscastellbisbal.net\/en\/2025\/12\/04\/desplegament-amb-vagrant\/","og_site_name":"Ana Borrego Toledo","article_published_time":"2025-12-04T07:10:09+00:00","article_modified_time":"2025-12-10T08:00:03+00:00","og_image":[{"width":601,"height":73,"url":"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_020.png","type":"image\/png"}],"author":"aborrego","twitter_card":"summary_large_image","twitter_misc":{"Written by":"aborrego","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/aborrego.inscastellbisbal.net\/2025\/12\/04\/desplegament-amb-vagrant\/#article","isPartOf":{"@id":"https:\/\/aborrego.inscastellbisbal.net\/2025\/12\/04\/desplegament-amb-vagrant\/"},"author":{"name":"aborrego","@id":"https:\/\/aborrego.inscastellbisbal.net\/#\/schema\/person\/596b5d3dc4735c43cfaafed47741b9d1"},"headline":"Desplegament amb vagrant","datePublished":"2025-12-04T07:10:09+00:00","dateModified":"2025-12-10T08:00:03+00:00","mainEntityOfPage":{"@id":"https:\/\/aborrego.inscastellbisbal.net\/2025\/12\/04\/desplegament-amb-vagrant\/"},"wordCount":330,"publisher":{"@id":"https:\/\/aborrego.inscastellbisbal.net\/#organization"},"image":{"@id":"https:\/\/aborrego.inscastellbisbal.net\/2025\/12\/04\/desplegament-amb-vagrant\/#primaryimage"},"thumbnailUrl":"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_020.png","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/aborrego.inscastellbisbal.net\/2025\/12\/04\/desplegament-amb-vagrant\/","url":"https:\/\/aborrego.inscastellbisbal.net\/2025\/12\/04\/desplegament-amb-vagrant\/","name":"Desplegament amb vagrant - Ana Borrego Toledo","isPartOf":{"@id":"https:\/\/aborrego.inscastellbisbal.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/aborrego.inscastellbisbal.net\/2025\/12\/04\/desplegament-amb-vagrant\/#primaryimage"},"image":{"@id":"https:\/\/aborrego.inscastellbisbal.net\/2025\/12\/04\/desplegament-amb-vagrant\/#primaryimage"},"thumbnailUrl":"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_020.png","datePublished":"2025-12-04T07:10:09+00:00","dateModified":"2025-12-10T08:00:03+00:00","breadcrumb":{"@id":"https:\/\/aborrego.inscastellbisbal.net\/2025\/12\/04\/desplegament-amb-vagrant\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/aborrego.inscastellbisbal.net\/2025\/12\/04\/desplegament-amb-vagrant\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/aborrego.inscastellbisbal.net\/2025\/12\/04\/desplegament-amb-vagrant\/#primaryimage","url":"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_020.png","contentUrl":"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/12\/Selection_020.png"},{"@type":"BreadcrumbList","@id":"https:\/\/aborrego.inscastellbisbal.net\/2025\/12\/04\/desplegament-amb-vagrant\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/aborrego.inscastellbisbal.net\/"},{"@type":"ListItem","position":2,"name":"Desplegament amb vagrant"}]},{"@type":"WebSite","@id":"https:\/\/aborrego.inscastellbisbal.net\/#website","url":"https:\/\/aborrego.inscastellbisbal.net\/","name":"Ana Borrego Toledo","description":"","publisher":{"@id":"https:\/\/aborrego.inscastellbisbal.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/aborrego.inscastellbisbal.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/aborrego.inscastellbisbal.net\/#organization","name":"Ana Borrego Toledo","url":"https:\/\/aborrego.inscastellbisbal.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/aborrego.inscastellbisbal.net\/#\/schema\/logo\/image\/","url":"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/03\/cropped-Selection_255.png","contentUrl":"https:\/\/aborrego.inscastellbisbal.net\/wp-content\/uploads\/2025\/03\/cropped-Selection_255.png","width":549,"height":328,"caption":"Ana Borrego Toledo"},"image":{"@id":"https:\/\/aborrego.inscastellbisbal.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/aborrego.inscastellbisbal.net\/#\/schema\/person\/596b5d3dc4735c43cfaafed47741b9d1","name":"aborrego","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e158785622f9364a28d322a7a8711e2ea34ebb67263b57ff915d7b49cb3cf0d1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e158785622f9364a28d322a7a8711e2ea34ebb67263b57ff915d7b49cb3cf0d1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e158785622f9364a28d322a7a8711e2ea34ebb67263b57ff915d7b49cb3cf0d1?s=96&d=mm&r=g","caption":"aborrego"},"sameAs":["https:\/\/aborrego.inscastellbisbal.net","https:\/\/www.instagram.com\/anaaaa.aaaaaaaaaaaaaaaaaaaaa?igsh=MWVqcmx5MXl5eGdxaw=="],"url":"https:\/\/aborrego.inscastellbisbal.net\/en\/author\/aborrego\/"}]}},"_links":{"self":[{"href":"https:\/\/aborrego.inscastellbisbal.net\/en\/wp-json\/wp\/v2\/posts\/8943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aborrego.inscastellbisbal.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aborrego.inscastellbisbal.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aborrego.inscastellbisbal.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aborrego.inscastellbisbal.net\/en\/wp-json\/wp\/v2\/comments?post=8943"}],"version-history":[{"count":19,"href":"https:\/\/aborrego.inscastellbisbal.net\/en\/wp-json\/wp\/v2\/posts\/8943\/revisions"}],"predecessor-version":[{"id":8991,"href":"https:\/\/aborrego.inscastellbisbal.net\/en\/wp-json\/wp\/v2\/posts\/8943\/revisions\/8991"}],"wp:attachment":[{"href":"https:\/\/aborrego.inscastellbisbal.net\/en\/wp-json\/wp\/v2\/media?parent=8943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aborrego.inscastellbisbal.net\/en\/wp-json\/wp\/v2\/categories?post=8943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aborrego.inscastellbisbal.net\/en\/wp-json\/wp\/v2\/tags?post=8943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}