Kapisi/roles/Uptime/tasks/main.yml

9 lines
151 B
YAML
Raw Normal View History

2020-10-08 16:33:19 -05:00
---
- name: Uptime
command: uptime
register: uptime_output
- name: Show output
debug:
msg: "{{ uptime_output.stdout_lines }}"