Target Host Errors
Missing Python Libraries
If you have a failingan Ansible playbook that is failing on a new target host, it's likely that the Python libraries on the target host, are notincompatible installedwith onthe it.version of Ansible.
This would present with an error message starting with:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'ansible.module_utils.six.moves'
Here's what it would look like when running the playbook from the command line:
Here's what it would look like when running from RunDeck:
You can either downgrade the python library to a compatible version.
Or, upgrade Ansible to a version that is compatible with the Python library on the target host.