playbook3yml 160 Bytes
Newer Older
1 2 3 4 5 6 7 8
---
- hosts: all
  tasks:  
    - name: ls
      command: ls -lah /
      register: streamoutput
      become: true
    - debug: msg="{{ streamoutput.stdout }}"