website/docs: fix code formatting

This change will fix formatting of the code blocks on page https://www.vagrantup.com/docs/provisioning/ansible_local.html
This commit is contained in:
morkot 2019-07-08 18:22:50 +01:00
parent 4ce8d84f7e
commit 2fd803cdc2
1 changed files with 28 additions and 28 deletions

View File

@ -105,7 +105,7 @@ This section lists the _specific_ options for the Ansible Local provisioner. In
config.vm.provision "ansible_local" do |ansible|
ansible.playbook = "playbook.yml"
ansible.install_mode = "pip"
ansible.pip_install_cmd = "https_proxy=http://your.proxy.server:port curl -s https://bootstrap.pypa.io/get-pip.py | sudo https_proxy=http://your.proxy.server:port python"
ansible.pip_install_cmd = "https_proxy=http://your.proxy.server:port curl -s https://bootstrap.pypa.io/get-pip.py | sudo https_proxy=http/your.proxy.server:port python"
ansible.version = "2.2.1.0"
end
```
@ -113,7 +113,7 @@ This section lists the _specific_ options for the Ansible Local provisioner. In
In this case case `pip` will be installed via the command:
```shell
https_proxy=http://your.proxy.server:port curl -s https://bootstrap.pypa.io/get-pip.py | sudo https_proxy=http://your.proxy.server:port python
https_proxy=http://your.proxy.server:port curl -s https://bootstrap.pypa.io/get-pip.py | sudo https_proxy=http://your.proxy.server:porpython
```
If `pip_install_cmd` is not provided in the config, then `pip` is installed via the default command.