Lab template for a CM/deployment exercise with Ansible and ngonx on any
Cloud. Originally written by Marcel Graf (HEIG-VD).
## Pedagogical objectives ##
* Become familiar with a configuration management tool
* Deploy a web application in an automated fashion
* Become familiar with Desired State Configuration
## Tasks ##
In this lab you will perform a number of tasks and document your progress in a
lab report. Each task specifies one or more deliverables to be
produced. Collect all the deliverables in your lab report.
**N.B.** Some tasks require interacting with your local machine's OS: any
related commands are supposed to be run into a terminal with the following
conventions about the *command line prompt*:
...
...
@@ -40,8 +31,9 @@ lcl$ ansible --version
### Task #2: Create a VM on a Cloud of your choice ###
**Goal:** create a VM that will be managed by Ansible. Chose any Cloud you are
familiar with, then:
**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:
1. Import or create an RSA key pair for SSH access to the VM.
...
...
@@ -60,12 +52,12 @@ After launching make sure you can SSH into the VM using your