--- - name: ping test hosts: all become: true vars: ansible_python_interpreter: /usr/bin/python3 tasks: - name: test ping ansible.builtin.ping: