(2019-02-19)
Problem
Out of the box, modern OS's don't include Python v2 which is what Ansible wants to use.
Solution
Use Python v3 instead.
In the hosts file entry for the given host, include the
ansible_python_interpreter flag to switch versions.
[db]
123.123.123.123 ansible_python_interpreter=/usr/bin/python3
(
Source)