Merge pull request #10954 from morkot/fix-docs-formatting-ansible_local
website/docs: fix code formatting
This commit is contained in:
commit
cca36d91ed
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue