title: Ansible provisioning ERROR! Using a SSH password instead of a key is not possible
body: <p>I would like to provision with my three nodes from the last one by using Ansible.</p>
  
  <p>My host machine is Windows 10.</p>
  
  <p>My Vagrantfile looks like:</p>
  
  <pre class="lang-ruby prettyprint-override"><code>Vagrant.configure("2") do |config|
  
    (1..3).each do |index|
      config.vm.define "node#{index}" do |node|
  
        node.vm.box = "ubuntu"
        node.vm.box = "../boxes/ubuntu_base.box"
  
        node.vm.network :private_network, ip: "192.168.10.#{10 + index}"
  
        if index == 3
          node.vm.provision :setup, type: :ansible_local do |ansible|
            ansible.playbook = "playbook.yml"
            ansible.provisioning_path = "/vagrant/ansible"
            ansible.inventory_path = "/vagrant/ansible/hosts"
            ansible.limit = :all
            ansible.install_mode = :pip
            ansible.version = "2.0"
          end
        end
  
      end
    end
  
  end
  </code></pre>
  
  <p>My playbook looks like:</p>
  
  <pre class="lang-yaml prettyprint-override"><code>---
  
  # my little playbook
  
  - name: My little playbook
    hosts: webservers
    gather_facts: false
    roles:
      - create_user
  </code></pre>
  
  <p>My hosts file looks like:</p>
  
  <pre class="lang-ini prettyprint-override"><code>[webservers]
  192.168.10.11
  192.168.10.12
  
  [dbservers]
  192.168.10.11
  192.168.10.13
  
  [all:vars]
  ansible_connection=ssh
  ansible_ssh_user=vagrant
  ansible_ssh_pass=vagrant
  </code></pre>
  
  <p>After executing <code>vagrant up --provision</code> I got the following error:</p>
  
  <pre><code>Bringing machine 'node1' up with 'virtualbox' provider...
  Bringing machine 'node2' up with 'virtualbox' provider...
  Bringing machine 'node3' up with 'virtualbox' provider...
  ==&gt; node3: Running provisioner: setup (ansible_local)...
      node3: Running ansible-playbook...
  
  PLAY [My little playbook] ******************************************************
  
  TASK [create_user : Create group] **********************************************
  fatal: [192.168.10.11]: FAILED! =&gt; {"failed": true, "msg": "ERROR! Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this.  Please add this host's fingerprint to your known_hosts file to manage this host."}
  fatal: [192.168.10.12]: FAILED! =&gt; {"failed": true, "msg": "ERROR! Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this.  Please add this host's fingerprint to your known_hosts file to manage this host."}
  
  PLAY RECAP *********************************************************************
  192.168.10.11              : ok=0    changed=0    unreachable=0    failed=1
  192.168.10.12              : ok=0    changed=0    unreachable=0    failed=1
  
  Ansible failed to complete successfully. Any error output should be
  visible above. Please fix these errors and try again.
  </code></pre>
  
  <p>I extended my Vagrantfile with <code>ansible.limit = :all</code> and added <code>[all:vars]</code> to the hostfile, but still cannot get through the error.</p>
  
  <p>Has anyone encountered the same issue?</p>