Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
7e4c4cd71a
|
@ -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
|
||||
|
||||
|
|
|
@ -41,6 +41,6 @@ responds to reports of malicious software distributed via Vagrant Cloud
|
|||
and takes down boxes
|
||||
- __The latest release date__. More up-to-date boxes contain up-to-date
|
||||
software
|
||||
- __Availability of the box download__. Vagrant Cloud periodically checks if box
|
||||
has is publicly accessible. You can see this information on the box
|
||||
- __Availability of the box download__. Vagrant Cloud periodically checks if a box
|
||||
is publicly accessible. You can see this information on the box
|
||||
page next to the provider
|
||||
|
|
Loading…
Reference in New Issue