Open rafabene opened 8 years ago
Thanks for spotting this, wonder whether it works here. What Ansible version do you use ?
To be honest, I didn't thoroughly test the bootstrap process which is a bit rough.
The version I use on OS X is:
nsible --version
ansible 2.0.0.2
config file =
configured module search path = Default w/o overrides
Ah! That explains much. I ran ansible from inside the pi. The version is: ansible 1.7.2. Shouldn't we add to the instructions that ansible2+ should be used and run from outside the pi ?
Ouch, sorry that should be in the README for sure.
The general idea is to use Ansible only for provisioning the Pis and then is not needed anymore, so there is not much benefit to have Ansible on the Pis (the communication ansible -> pi goes all via SSH).
Thanks for spotting this ;)
BTW, wrt the roadmap:
Any feedback is highly appreciated, let me know when I can help. I'm on irc, too (as @ro14nd on #fabric8 in Freenode)
Concerning the become: yes
etc., it would be good if this would be in a separate config file. Currently I have to change it in 4 different files as in my setup I can (only) connect directly as root.
I will try to move the authentication configuration externally, good idea.
To workaround the problem I commented out and run
become: yes
andbecome_method: sudo
from setup.yml.After that I ran
ansible-playbook -i setup-host setup.yml -sk
instead ofansible-playbook -i setup-host setup.yml -k