- name: Send shell command
hosts: all
become: yes
tasks:
- name: Send shell command
command: "{{ command }}"
register: out
- debug: msg="{{ out.stdout }}"
- name: Send shell command
hosts: all
become: yes
tasks:
- name: Send shell command
command: "{{ command }}"
register: out
- debug: msg="{{ out.stdout }}"