Register the command output and debug it.

This commit is contained in:
2021-11-17 06:36:13 +01:00
parent 37eb636867
commit 16ee55cb02

View File

@@ -8,3 +8,7 @@
tasks:
- name: Check uname
shell: uname -a
register: command_output
- debug:
var: command_output.stdout_lines