cd /vagrant && PYTHONUNBUFFERED=1 ANSIBLE_NOCOLOR=true ansible-playbook --limit="all" --inventory-file=inventory --sudo -v playbook.ymlUsing /vagrant/ansible.cfg as config file
PLAY [print out operating system] **********************************************
TASK [setup] *******************************************************************fatal: [node2]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh.", "unreachable": true}fatal: [node1]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh.", "unreachable": true}ok: [controller]
TASK [debug] *******************************************************************ok: [controller] => { "ansible_distribution": "Ubuntu"} to retry, use: --limit @playbook.retry
PLAY RECAP *********************************************************************controller : ok=2 changed=0 unreachable=0 failed=0node1 : ok=0 changed=0 unreachable=1 failed=0node2 : ok=0 changed=0 unreachable=1 failed=0
Ansible failed to complete successfully. Any error output should bevisible above. Please fix these errors and try again.- name: print out operating system hosts: all gather_facts: True tasks: - debug: var=ansible_distribution
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/79becbbe-bff8-4312-be81-ec13a8689e2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/2-yOGvdlAgI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ex5P3BXPUqbARLBqVRjks_LQinYB9%3DQwnfvPtCsSPo7tg%40mail.gmail.com.