The role install python using raw
module, so you can use it to prepare host for using Ansible.
- name: Ensure python is installed
hosts: all
gather_facts: no
become: yes
roles:
- install-python
- name: Play other roles
hosts: all
gather_facts: yes
become: yes
roles:
- other-role