Skip to content

Commit 81bbfc1

Browse files
Merge pull request #705 from akira6592/patch-1
Fixed invalid playbook indentation
2 parents c4bd04a + 9c5ad35 commit 81bbfc1

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

articles/ansible/install-on-linux-vm.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ Replace `<resource_group_name>` and `<location>` with your values.
234234
```yml
235235
---
236236
- hosts: localhost
237-
connection: local
238-
tasks:
237+
connection: local
238+
tasks:
239239
- name: Creating resource group
240-
azure_rm_resourcegroup:
240+
azure_rm_resourcegroup:
241241
name: "<resource_group_name"
242242
location: "<location>"
243243
```
@@ -248,12 +248,12 @@ Replace `<resource_group_name>` and `<location>` with your values.
248248
- hosts: localhost
249249
connection: local
250250
collections:
251-
- azure.azcollection
251+
- azure.azcollection
252252
tasks:
253-
- name: Creating resource group
253+
- name: Creating resource group
254254
azure_rm_resourcegroup:
255-
name: "<resource_group_name"
256-
location: "<location>"
255+
name: "<resource_group_name"
256+
location: "<location>"
257257
```
258258
259259
Replace `<resource_group_name>` and `<location>` with your values.

articles/ansible/key-vault-configure-secrets.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ Ansible needs a resource group to deploy your resources in.
5353
5454
```yml
5555
---
56-
vars:
57-
tenant_id: <tenantId>
58-
object_id: <servicePrincipalObjectId>
59-
vault_name: <vaultName>
56+
vars:
57+
tenant_id: <tenantId>
58+
object_id: <servicePrincipalObjectId>
59+
vault_name: <vaultName>
6060
```
6161
6262
Replace `<tenantId>`, `<servicePrincipalObjectId>`, and `<vaultName>` with the appropriate values. The objectId is used to grant access to secrets within the key vault.
@@ -68,22 +68,22 @@ Ansible needs a resource group to deploy your resources in.
6868

6969
```yml
7070
---
71-
- name: Create key vault instance
72-
azure_rm_keyvault:
73-
resource_group: ansible-kv-test-rg
74-
vault_name: "{{ vault_name }}"
75-
enabled_for_deployment: yes
76-
vault_tenant: "{{ tenant_id }}"
77-
sku:
78-
name: standard
79-
access_policies:
80-
- tenant_id: "{{ tenant_id }}"
81-
object_id: "{{ object_id }}"
82-
secrets:
83-
- get
84-
- list
85-
- set
86-
- delete
71+
- name: Create key vault instance
72+
azure_rm_keyvault:
73+
resource_group: ansible-kv-test-rg
74+
vault_name: "{{ vault_name }}"
75+
enabled_for_deployment: yes
76+
vault_tenant: "{{ tenant_id }}"
77+
sku:
78+
name: standard
79+
access_policies:
80+
- tenant_id: "{{ tenant_id }}"
81+
object_id: "{{ object_id }}"
82+
secrets:
83+
- get
84+
- list
85+
- set
86+
- delete
8787
```
8888

8989
1. Run the `create_kv.yml` playbook.

0 commit comments

Comments
 (0)