use pre-tasks to install python on debian minimal installs
In the playbook, add something like this:
- hosts: all
user: root
gather_facts: no
pre_tasks:
- name: PRE-TASKS | install python (bootstrap for ansible tasks) on Debian like Distros
raw: /usr/bin/test -f /etc/debian_version && apt-get install -y python
check_mode: no