You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
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.
302
302
303
303
>**Note**: Make sure that this region matches the Azure region where you created the **az400m14l03rg** resource group.
304
304
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.
307
307
308
308
>**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.
309
309
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**.
311
311
312
312
>**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:
313
313
@@ -351,13 +351,13 @@ In this task, you will create an Azure VM hosting a web server by using an Ansib
351
351
352
352
>**Note**: Wait for the deployment to complete. This might take about 3 minutes.
353
353
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:
355
355
356
356
```bash
357
-
nano ./myazure_rm.yml
357
+
code ./myazure_rm.yml
358
358
```
359
359
360
-
1. Within the Nano editor interface, paste the following content:
360
+
1. Within the Code editor interface, paste the following content:
361
361
362
362
```bash
363
363
plugin: azure_rm
@@ -370,7 +370,7 @@ In this task, you will create an Azure VM hosting a web server by using an Ansib
370
370
key: tags
371
371
```
372
372
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**.
374
374
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:
0 commit comments