Co-authored-by: Benjamin Blasco <bblasco@redhat.com>
This commit is contained in:
@@ -9,7 +9,12 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Run Shell Script
|
- name: Run Shell Script
|
||||||
shell: "{{ shell_script }}"
|
shell: "{{ shell_script }}"
|
||||||
|
register: shell_output
|
||||||
|
|
||||||
|
- name: Print script output
|
||||||
|
debug:
|
||||||
|
var: shell_output.stdout_lines
|
||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
msg: You should really consider converting this script to a playbook!
|
msg: You should really consider converting this script to a playbook!
|
||||||
run_once: yes
|
run_once: yes
|
||||||
|
|||||||
Reference in New Issue
Block a user