ansible_cache/home_linux/get_status.yml

17 lines
282 B
YAML
Raw Normal View History

---
- name: Get the status of the RPI servers
hosts: all
roles:
- common
become: yes
tasks:
- name: Get device information
command: bash /home/vlad/status.sh
register: status
- name: Print device information
debug:
var: status.stdout_lines