The following error is due to PlayContext
being removed from ansible-core
.
https://github.com/ansible-collections/ansible.netcommon/issues/541
"msg": "'PlayContext' object has no attribute 'verbosity'"
This can be fixed by updating the Ansible Collection.
You can list your current collections with
ansible-galaxy collection list
You may have multiple duplicates for different versions of Python and for local and system paths. I.e., /usr/lib/python3
and ~/.local/lib/python3
We can upgrade the collection with the following command.
ansible-galaxy collection install community.routeros --upgrade