--- - hosts: all tasks: - name: checks shell: echo {{ lookup('env','USER') }}