diff --git a/linux/run_script.yml b/linux/run_script.yml index a1c3364..8a9ae65 100644 --- a/linux/run_script.yml +++ b/linux/run_script.yml @@ -9,7 +9,12 @@ tasks: - name: Run Shell Script shell: "{{ shell_script }}" + register: shell_output + + - name: Print script output + debug: + var: shell_output.stdout_lines - debug: msg: You should really consider converting this script to a playbook! - run_once: yes \ No newline at end of file + run_once: yes