Tive que usar o comando com sudo para que funcionasse na "raça". Logado como vagrant ssh:
sudo ansible-playbook -i /vagrant/configs/ansible/hosts /vagrant/configs/ansible/playbook.yml
Deu uma porção de erros de acessos negados. Coloquei sudo e instalou certinho. Qual a razão, se estou seguindo o passo a passo. O que faltou?
ansible-playbook -i /vagrant/configs/ansible/hosts /vagrant/configs/ansible/playbook.yml
Unhandled error:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/ansible/config/manager.py", line 523, in update_config_data
value, origin = self.get_config_value_and_origin(config, configfile)
File "/usr/lib/python2.7/dist-packages/ansible/config/manager.py", line 467, in get_config_value_and_origin
value = ensure_type(value, defs[config].get('type'), origin=origin)
File "/usr/lib/python2.7/dist-packages/ansible/config/manager.py", line 110, in ensure_type
makedirs_safe(value, 0o700)
File "/usr/lib/python2.7/dist-packages/ansible/utils/path.py", line 82, in makedirs_safe
raise AnsibleError("Unable to create local directories(%s): %s" % (to_native(rpath), to_native(e)))
AnsibleError: Unable to create local directories(/home/vagrant/.ansible/tmp): [Errno 13] Permission denied: '/home/vagrant/.ansible/tmp'