- hosts: all become: true gather_facts: yes tasks: - name: Distribution debug: msg="{{ ansible_distribution }}"