playbook command.yml - name: Send shell command hosts: all become: yes tasks: - name: Send shell command command: "{{ command }}" register: out - debug: msg="{{ out.stdout }}" R&D/ansible 2018.04.21