Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 9fc35a2

Browse files
authored
Merge pull request #176 from MicrosoftLearning/lab14-preethi-fix-forPR#121
Update AZ400_M14_Ansible_with_Azure.md
2 parents f588ff9 + 7b929bf commit 9fc35a2

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

Instructions/Labs/AZ400_M14_Ansible_with_Azure.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -292,22 +292,22 @@ In this task, you will create an Azure VM hosting a web server by using an Ansib
292292
```
293293

294294
1. Record the output, including the username at the end of the output string.
295-
1. Run the following to open the **new_vm_web.yml** file in the Nano text editor:
295+
1. Run the following to open the **new_vm_web.yml** file in the Code text editor:
296296

297297
```bash
298-
nano ~/PartsUnlimitedMRP/Labfiles/AZ-400T05-ImplemntgAppInfra/Labfiles/ansible/new_vm_web.yml
298+
code ~/PartsUnlimitedMRP/Labfiles/AZ-400T05-ImplemntgAppInfra/Labfiles/ansible/new_vm_web.yml
299299
```
300300

301-
1. In the nano editor, if needed, change the name of the region in the `dnsname: '{{ vmname }}.westeurope.cloudapp.azure.com'` entry to the name of the Azure region you are targeting for deployment.
301+
1. In the Code editor, if needed, change the name of the region in the `dnsname: '{{ vmname }}.westeurope.cloudapp.azure.com'` entry to the name of the Azure region you are targeting for deployment.
302302

303303
>**Note**: Make sure that this region matches the Azure region where you created the **az400m14l03rg** resource group.
304304

305-
1. In the nano editor, change the value of `vm_size` entry from `Standard_A0` to `Standard_DS1_v2`.
306-
1. In the nano editor, locate the SSH string towards the end of the file, in the `key_data` entry, delete the existing key value and replace it with the key value that you recorded earlier in this task.
305+
1. In the Code editor, change the value of `vm_size` entry from `Standard_A0` to `Standard_DS1_v2`.
306+
1. In the Code editor, locate the SSH string towards the end of the file, in the `key_data` entry, delete the existing key value and replace it with the key value that you recorded earlier in this task.
307307

308308
>**Note**: Make sure that the value of `admin_username` entry that is included in the file matches the user name you used to sign in to the Azure VM hosting the Ansible control system (**azureuser**). The same user name must be used in the `path` entry of `ssh_public_keys` section.
309309

310-
1. Within the Nano editor interface, press **ctrl + o** key combination, press the **Enter** key, and then press **ctrl + x** key combination to save the changes you made and close the file.
310+
1. Within the Code editor interface, click the **...** on the top right, and select **Save**.
311311

312312
>**Note**: Next, you will deploy an Azure VM into the resource group created at the beginning of the lab. Use the following values for the deployment:
313313

@@ -351,13 +351,13 @@ In this task, you will create an Azure VM hosting a web server by using an Ansib
351351
352352
>**Note**: Wait for the deployment to complete. This might take about 3 minutes.
353353
354-
1. Run the following to create a new file named **myazure_rm.yml** and open it in the Nano text editor:
354+
1. Run the following to create a new file named **myazure_rm.yml** and open it in the Code text editor:
355355
356356
```bash
357-
nano ./myazure_rm.yml
357+
code ./myazure_rm.yml
358358
```
359359
360-
1. Within the Nano editor interface, paste the following content:
360+
1. Within the Code editor interface, paste the following content:
361361
362362
```bash
363363
plugin: azure_rm
@@ -370,7 +370,7 @@ In this task, you will create an Azure VM hosting a web server by using an Ansib
370370
key: tags
371371
```
372372
373-
1. Within the Nano editor interface, press **ctrl + o** key combination, press the **Enter** key, and then press **ctrl + x** key combination to save the changes you made and close the file.
373+
1. Within the Code editor interface, click the **...** on the top right, and select **Save**.
374374
1. Back in the Bash session in the Cloud Shell pane, within the SSH session to the Azure VM configured as the Ansible control node, run the following to perform a ping test, verifying that the dynamic inventory file includes the newly deployed Azure VM:
375375
376376
```bash

0 commit comments

Comments
 (0)