chmod +x host.py
Ansible uses the executable flag to determine whether or not a file is a .ini or script.