Skip to content

Commit 12ac77b

Browse files
authored
Merge pull request #49947 from TomArcher/ansible-common-prereqs-sections-into-include-file-2
Ansible - Normalize text for 'Install Ansible' requirement in Prerequisites section
2 parents 7c45d37 + f49f092 commit 12ac77b

File tree

2 files changed

+12
-24
lines changed

2 files changed

+12
-24
lines changed

articles/ansible/ansible-create-configure-vmss.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,18 @@ description: Learn how to use Ansible to create and configure a virtual machine
44
ms.service: ansible
55
keywords: ansible, azure, devops, bash, playbook, virtual machine, virtual machine scale set, vmss
66
author: tomarcher
7-
manager: jpconnock
8-
editor: na
9-
ms.topic: article
10-
ms.tgt_pltfrm: vm-linux
11-
ms.date: 07/11/2018
7+
manager: jeconnoc
128
ms.author: tarcher
9+
ms.topic: tutorial
10+
ms.date: 08/24/2018
1311
---
1412

1513
# Create virtual machine scale sets in Azure using Ansible
1614
Ansible allows you to automate the deployment and configuration of resources in your environment. You can use Ansible to manage your virtual machine scale set (VMSS) in Azure, the same as you would manage any other Azure resource. This article shows you how to use Ansible to create and scale out a virtual machine scale set.
1715

1816
## Prerequisites
1917
- **Azure subscription** - If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio) before you begin.
20-
- **Configure Ansible** - [Create Azure credentials and configure Ansible](../virtual-machines/linux/ansible-install-configure.md#create-azure-credentials)
21-
- **Ansible and the Azure Python SDK modules**
22-
- [CentOS 7.4](../virtual-machines/linux/ansible-install-configure.md#centos-74)
23-
- [Ubuntu 16.04 LTS](../virtual-machines/linux/ansible-install-configure.md#ubuntu-1604-lts)
24-
- [SLES 12 SP2](../virtual-machines/linux/ansible-install-configure.md#sles-12-sp2)
18+
- [!INCLUDE [ansible-prereqs-for-cloudshell-use-or-vm-creation1.md](../../includes/ansible-prereqs-for-cloudshell-use-or-vm-creation1.md)] [!INCLUDE [ansible-prereqs-for-cloudshell-use-or-vm-creation2.md](../../includes/ansible-prereqs-for-cloudshell-use-or-vm-creation2.md)]
2519

2620
> [!Note]
2721
> Ansible 2.6 is required to run the following the sample playbooks in this tutorial.
@@ -31,7 +25,7 @@ This section presents a sample Ansible playbook that defines the following resou
3125
- **Resource group** into which all of your resources will be deployed
3226
- **Virtual network** in the 10.0.0.0/16 address space
3327
- **Subnet** within the virtual network
34-
- **Public IP address** that wllows you to access resources across the Internet
28+
- **Public IP address** that allows you to access resources across the Internet
3529
- **Network security group** that controls the flow of network traffic in and out of your virtual machine scale set
3630
- **Load balancer** that distributes traffic across a set of defined VMs using load balancer rules
3731
- **Virtual machine scale set** that uses all the created resources
@@ -181,7 +175,7 @@ The created virtual machine scale set has two instances. If you navigate to the
181175
az vmss show -n myVMSS -g myResourceGroup --query '{"capacity":sku.capacity}'
182176
```
183177

184-
The output should be similar to the following:
178+
You see results similar to the following output:
185179

186180
```bash
187181
{
@@ -266,7 +260,7 @@ If navigate to the virtual machine scale set you configured in the Azure portal,
266260
az vmss show -n myVMSS -g myResourceGroup --query '{"capacity":sku.capacity}'
267261
```
268262

269-
The results of running the command in Cloud Shell shows that three instances now exist.
263+
The result of running the command in Cloud Shell shows that three instances now exist.
270264

271265
```bash
272266
{

articles/ansible/ansible-deploy-app-vmss.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,18 @@ description: Learn how to use Ansible to configure a virtual machine scale set a
44
ms.service: ansible
55
keywords: ansible, azure, devops, bash, playbook, virtual machine, virtual machine scale set, vmss
66
author: tomarcher
7-
manager: jpconnock
8-
editor: na
9-
ms.topic: article
10-
ms.tgt_pltfrm: vm-linux
11-
ms.date: 07/11/2018
7+
manager: jeconnoc
128
ms.author: tarcher
9+
ms.topic: tutorial
10+
ms.date: 08/24/2018
1311
---
1412

1513
# Deploy applications to virtual machine scale sets in Azure using Ansible
1614
Ansible allows you to automate the deployment and configuration of resources in your environment. You can use Ansible to deploy your applications to Azure. This article shows you how to deploy a Java application to an Azure virtual machine scale set (VMSS).
1715

1816
## Prerequisites
1917
- **Azure subscription** - If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio) before you begin.
20-
- **Configure Ansible** - [Create Azure credentials and configure Ansible](../virtual-machines/linux/ansible-install-configure.md#create-azure-credentials)
21-
- **Ansible and the Azure Python SDK modules**
22-
- [CentOS 7.4](../virtual-machines/linux/ansible-install-configure.md#centos-74)
23-
- [Ubuntu 16.04 LTS](../virtual-machines/linux/ansible-install-configure.md#ubuntu-1604-lts)
24-
- [SLES 12 SP2](../virtual-machines/linux/ansible-install-configure.md#sles-12-sp2)
18+
- [!INCLUDE [ansible-prereqs-for-cloudshell-use-or-vm-creation1.md](../../includes/ansible-prereqs-for-cloudshell-use-or-vm-creation1.md)] [!INCLUDE [ansible-prereqs-for-cloudshell-use-or-vm-creation2.md](../../includes/ansible-prereqs-for-cloudshell-use-or-vm-creation2.md)]
2519
- **Virtual machine scale set** - If you don't already have a virtual machine scale set, you can [create a virtual machine scale set with Ansible](ansible-create-configure-vmss.md).
2620
- **git** - [git](https://git-scm.com) is used to download a Java sample used in this tutorial.
2721
- **Java SE Development Kit (JDK)** - The JDK is used to build the sample Java project.
@@ -154,7 +148,7 @@ To use the ssh connection type with passwords, you must install the sshpass prog
154148
- For Ubunto 16.04, run the command `apt-get install sshpass`.
155149
- For CentOS 7.4, run the command `yum install sshpass`.
156150

157-
You may see an error like **Using an SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this. Add this host's fingerprint to your known_hosts file to manage this host.** If you see this error, you can disable host key checking by adding the following line to either the `/etc/ansible/ansible.cfg` file or the `~/.ansible.cfg` file:
151+
You may see an error like **Using an SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this. Add this host's fingerprint to your known_hosts file to manage this host.** If you see this error, you can disable host key checking by adding the following line to either the `/etc/ansible/ansible.cfg` file or the `~/.ansible.cfg` file:
158152
```bash
159153
[defaults]
160154
host_key_checking = False

0 commit comments

Comments
 (0)