From af5c752fb2f249cdc0e36e208d13b96459fe1088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Sousa?= <180369+llsousa@users.noreply.github.com> Date: Fri, 2 Aug 2019 16:18:20 +0100 Subject: [PATCH] Review ansible_local.html.md --- .../docs/provisioning/ansible_local.html.md | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/website/source/docs/provisioning/ansible_local.html.md b/website/source/docs/provisioning/ansible_local.html.md index e4d12be72..508543d65 100644 --- a/website/source/docs/provisioning/ansible_local.html.md +++ b/website/source/docs/provisioning/ansible_local.html.md @@ -78,20 +78,20 @@ This section lists the _specific_ options for the Ansible Local provisioner. In - `:pip`: Ansible is installed from [PyPI](https://pypi.python.org/pypi) with [pip](https://pip.pypa.io) package installer. With this mode, Vagrant will systematically try to [install the latest pip version](https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py). With the `:pip` mode you can optionally install a specific Ansible release by setting the [`version`](/docs/provisioning/ansible_common.html#version) option. - Example: + Example: - ```ruby - config.vm.provision "ansible_local" do |ansible| - ansible.playbook = "playbook.yml" - ansible.install_mode = "pip" - ansible.version = "2.2.1.0" - end - ``` - With this configuration, Vagrant will install `pip` and then execute the command + ```ruby + config.vm.provision "ansible_local" do |ansible| + ansible.playbook = "playbook.yml" + ansible.install_mode = "pip" + ansible.version = "2.2.1.0" + end + ``` + With this configuration, Vagrant will install `pip` and then execute the command - ```shell - sudo pip install --upgrade ansible==2.2.1.0 - ``` + ```shell + sudo pip install --upgrade ansible==2.2.1.0 + ``` As-is `pip` is installed if needed via a default command which looks like