Closed poon64 closed 5 years ago
@poon64 it looks like the version of Ansible you have installed may be very old; this playbook requires Ansible 2.4 or later. Check the version with ansible --version
and if it's too old, try uninstalling (maybe it was installed with the system package manager?), and then reinstalling via pip
or via source instead.
If that's not the problem, please feel free to reopen this issue!
@geerlingguy You was correct, I was using the version coming with raspbian, and that version was 2.2.1.0 and that seems to be the latest available there. So I did as you suggested and uninstalled it and then installed with pip to version 2.7.6. It seems to work now :)
When I try to run the command
ansible-playbook -i inventory main.yml
this is what happens