From e5b76d0235047d18738cf729d851653200ff22c8 Mon Sep 17 00:00:00 2001 From: "Marco Emilio \"sphakka\" Poleggi" <marcoep@ieee.org> Date: Mon, 11 Nov 2024 09:30:45 +0100 Subject: [PATCH] More debugging references Signed-off-by: Marco Emilio "sphakka" Poleggi <marcoep@ieee.org> --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7d7ed5f..1c367d5 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,10 @@ lcl$ ansible --version **Goal:** create a VM that will be managed by Ansible. -:bulb: If you followed the [Terraform exercise](https://gitedu.hesge.ch/lsds/teaching/bachelor/cloud-and-deployment/lab-terraform/-/blob/main/SwitchEngines/README.md), use your TF plan to bring up your assigned sandbox instance and **skip** the rest of this task. Otherwise Chose any Cloud you are familiar with, then: +:bulb: If you followed the [Terraform +exercise](https://gitedu.hesge.ch/lsds/teaching/bachelor/cloud-and-deployment/lab-terraform/-/blob/main/SwitchEngines/README.md), +use your TF plan to bring up your assigned sandbox instance and **skip** the +rest of this task. Otherwise, chose any Cloud you are familiar with, then: 1. Import or create an RSA key pair for SSH access to the VM. @@ -689,8 +692,15 @@ service. :hammer_and_wrench: **Over to you now.** Prepare another playbook based on the `playbooks/kind-metallb.yml` boilerplate. -:bulb: To go as quick as possible, provision a 2-node KinD cluster with 2 -http-echo pods on the only worker node. +:bulb: To go as quick as possible, please: + * provision a more powerful VM: 2 CPUs, 4GB RAM, 40GB root disk -- no extra + volume needed; + * provision a 2-node KinD cluster with 2 http-echo pods on the only worker + node; + * use Ansible's [debugging + features](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_debugger.html) + and [debug + module](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/debug_module.html#ansible-collections-ansible-builtin-debug-module). Once done, use the following test track to finalize your workflow: 1. The first playbook run shall install, provision and deploy everything. The -- GitLab