Kapisi/roles/Uptime/tasks/main.yml
2020-10-08 16:33:19 -05:00

9 lines
151 B
YAML

---
- name: Uptime
command: uptime
register: uptime_output
- name: Show output
debug:
msg: "{{ uptime_output.stdout_lines }}"