From 68b3ca5a8bf041bd9d08975a7a2e208c1d08c87d Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Mon, 31 Dec 2018 18:02:33 +0200 Subject: [PATCH] ansible_ssh_host in the example is deprecated Need to use ansible_host these days. See https://docs.ansible.com/ansible/2.3/intro_inventory.html deprecation note (it was deprecated in 2.0 apparently) --- website/source/docs/provisioning/ansible_local.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/provisioning/ansible_local.html.md b/website/source/docs/provisioning/ansible_local.html.md index 14df9d53f..f6b96df00 100644 --- a/website/source/docs/provisioning/ansible_local.html.md +++ b/website/source/docs/provisioning/ansible_local.html.md @@ -202,8 +202,8 @@ You need to create a static `inventory` file that corresponds to your `Vagrantfi ``` controller ansible_connection=local -node1 ansible_ssh_host=172.17.177.21 ansible_ssh_private_key_file=/vagrant/.vagrant/machines/node1/virtualbox/private_key -node2 ansible_ssh_host=172.17.177.22 ansible_ssh_private_key_file=/vagrant/.vagrant/machines/node2/virtualbox/private_key +node1 ansible_host=172.17.177.21 ansible_ssh_private_key_file=/vagrant/.vagrant/machines/node1/virtualbox/private_key +node2 ansible_host=172.17.177.22 ansible_ssh_private_key_file=/vagrant/.vagrant/machines/node2/virtualbox/private_key [nodes] node[1:2]