{"version": 2, "width": 160, "height": 42, "timestamp": 1787965000, "title": "infra playbook: apply dry run profile source multipass", "env": {"TERM": "xterm-256color", "SHELL": "/bin/bash"}}
[0.0, "o", "$ bash playbooks/infra/scripts/06-apply-dry-run-profile-source-multipass.sh --execute\r\n"]
[0.18, "o", "# Use isolated staged profiles repo: /home/jmacchi/prg/jemacchi/productive-k3s-env/productive-k3s-ops/.playbooks-preview/runtime/infra-source-multipass-apply-dry-run-20260828-204011\r\n"]
[0.36, "o", "# Show the local multipass apply path in dry-run mode\r\n"]
[0.68, "o", "[pk3s-infra] INFO  Loading profile: /home/jmacchi/prg/jemacchi/productive-k3s-env/productive-k3s-ops/.playbooks-preview/runtime/infra-source-multipass-apply-dry-run-20260828-204011/profiles/local/multipass/1-server-2-agents.env\r\n"]
[0.86, "o", "[pk3s-infra] INFO  Scenario: multipass\r\n"]
[1.04, "o", "[pk3s-infra] INFO  Engine: opentofu\r\n"]
[1.22, "o", "[pk3s-infra] OK    Profile validation passed\r\n"]
[1.5, "o", "[pk3s-infra] INFO  Dry-run requested; switching apply to plan\r\n"]
[1.82, "o", "[pk3s-infra] INFO  Running OpenTofu plan in /home/jmacchi/prg/jemacchi/productive-k3s-env/productive-k3s-ops/.playbooks-preview/runtime/infra-source-multipass-apply-dry-run-20260828-204011/scenarios/local/multipass/opentofu\r\n"]
[2.36, "o", "Initializing provider plugins...\r\n"]
[2.54, "o", "- Reusing previous version of hashicorp/null from the dependency lock file\r\n"]
[2.72, "o", "- Using previously-installed hashicorp/null v3.2.4\r\n"]
[3.26, "o", "OpenTofu has been successfully initialized!\r\n"]
[3.62, "o", "You may now begin working with OpenTofu. Try running \"tofu plan\" to see\r\n"]
[3.8, "o", "any changes that are required for your infrastructure. All OpenTofu commands\r\n"]
[3.98, "o", "should now work.\r\n"]
[4.34, "o", "If you ever set or change modules or backend configuration for OpenTofu,\r\n"]
[4.52, "o", "rerun this command to reinitialize your working directory. If you forget, other\r\n"]
[4.7, "o", "commands will detect it and remind you to do so if necessary.\r\n"]
[5.06, "o", "OpenTofu used the selected providers to generate the following execution\r\n"]
[5.24, "o", "plan. Resource actions are indicated with the following symbols:\r\n"]
[5.42, "o", "  + create\r\n"]
[6.02, "o", "OpenTofu will perform the following actions:\r\n"]
[6.48, "o", "  # null_resource.generated_artifacts will be created\r\n"]
[6.66, "o", "  + resource \"null_resource\" \"generated_artifacts\" {\r\n"]
[6.84, "o", "      + id       = (known after apply)\r\n"]
[6.99, "o", "      + triggers = {\r\n"]
[7.17, "o", "          + \"agent1_name\"   = \"productive-k3s-mp-agent-1\"\r\n"]
[7.35, "o", "          + \"agent2_name\"   = \"productive-k3s-mp-agent-2\"\r\n"]
[7.53, "o", "          + \"base_domain\"   = \"k3s.lab.internal\"\r\n"]
[7.68, "o", "          + \"cluster_name\"  = \"productive-k3s-mp\"\r\n"]
[7.86, "o", "          + \"rancher_host\"  = \"rancher.k3s.lab.internal\"\r\n"]
[8.04, "o", "          + \"registry_host\" = \"registry.k3s.lab.internal\"\r\n"]
[8.22, "o", "          + \"remote_dir\"    = \"/home/ubuntu/productive-k3s-core\"\r\n"]
[8.37, "o", "          + \"server_name\"   = \"productive-k3s-mp-server\"\r\n"]
[8.55, "o", "        }\r\n"]
[8.73, "o", "    }\r\n"]
[9.19, "o", "  # null_resource.multipass_instance[\"productive-k3s-mp-agent-1\"] will be created\r\n"]
[9.37, "o", "  + resource \"null_resource\" \"multipass_instance\" {\r\n"]
[9.55, "o", "      + id       = (known after apply)\r\n"]
[9.7, "o", "      + triggers = {\r\n"]
[9.88, "o", "          + \"cloud_init\" = \"./cloud-init/agent-1.yaml\"\r\n"]
[10.06, "o", "          + \"cpus\"       = \"2\"\r\n"]
[10.24, "o", "          + \"disk\"       = \"30G\"\r\n"]
[10.42, "o", "          + \"image\"      = \"24.04\"\r\n"]
[10.6, "o", "          + \"memory\"     = \"4G\"\r\n"]
[10.78, "o", "          + \"name\"       = \"productive-k3s-mp-agent-1\"\r\n"]
[10.96, "o", "        }\r\n"]
[11.14, "o", "    }\r\n"]
[11.6, "o", "  # null_resource.multipass_instance[\"productive-k3s-mp-agent-2\"] will be created\r\n"]
[11.78, "o", "  + resource \"null_resource\" \"multipass_instance\" {\r\n"]
[11.96, "o", "      + id       = (known after apply)\r\n"]
[12.11, "o", "      + triggers = {\r\n"]
[12.29, "o", "          + \"cloud_init\" = \"./cloud-init/agent-2.yaml\"\r\n"]
[12.47, "o", "          + \"cpus\"       = \"2\"\r\n"]
[12.65, "o", "          + \"disk\"       = \"30G\"\r\n"]
[12.83, "o", "          + \"image\"      = \"24.04\"\r\n"]
[13.01, "o", "          + \"memory\"     = \"4G\"\r\n"]
[13.19, "o", "          + \"name\"       = \"productive-k3s-mp-agent-2\"\r\n"]
[13.37, "o", "        }\r\n"]
[13.55, "o", "    }\r\n"]
[14.01, "o", "  # null_resource.multipass_instance[\"productive-k3s-mp-server\"] will be created\r\n"]
[14.19, "o", "  + resource \"null_resource\" \"multipass_instance\" {\r\n"]
[14.37, "o", "      + id       = (known after apply)\r\n"]
[14.52, "o", "      + triggers = {\r\n"]
[14.7, "o", "          + \"cloud_init\" = \"./cloud-init/server.yaml\"\r\n"]
[14.88, "o", "          + \"cpus\"       = \"4\"\r\n"]
[15.06, "o", "          + \"disk\"       = \"40G\"\r\n"]
[15.24, "o", "          + \"image\"      = \"24.04\"\r\n"]
[15.42, "o", "          + \"memory\"     = \"8G\"\r\n"]
[15.6, "o", "          + \"name\"       = \"productive-k3s-mp-server\"\r\n"]
[15.78, "o", "        }\r\n"]
[15.96, "o", "    }\r\n"]
[16.56, "o", "Plan: 4 to add, 0 to change, 0 to destroy.\r\n"]
[16.92, "o", "Changes to Outputs:\r\n"]
[17.1, "o", "  + agent_names      = [\r\n"]
[17.28, "o", "      + \"productive-k3s-mp-agent-1\",\r\n"]
[17.46, "o", "      + \"productive-k3s-mp-agent-2\",\r\n"]
[17.64, "o", "    ]\r\n"]
[17.82, "o", "  + base_domain      = \"k3s.lab.internal\"\r\n"]
[17.97, "o", "  + cluster_name     = \"productive-k3s-mp\"\r\n"]
[18.15, "o", "  + rancher_host     = \"rancher.k3s.lab.internal\"\r\n"]
[18.33, "o", "  + registry_host    = \"registry.k3s.lab.internal\"\r\n"]
[18.51, "o", "  + remote_dir       = \"/home/ubuntu/productive-k3s-core\"\r\n"]
[18.66, "o", "  + server_name      = \"productive-k3s-mp-server\"\r\n"]
[19.02, "o", "─────────────────────────────────────────────────────────────────────────────\r\n"]
[19.38, "o", "Note: You didn't use the -out option to save this plan, so OpenTofu can't\r\n"]
[19.56, "o", "guarantee to take exactly these actions if you run \"tofu apply\" now.\r\n"]
[19.81, "o", "$ "]
