More new stuff
This commit is contained in:
17
ice_cream3.yml
Normal file
17
ice_cream3.yml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
- name: Display ASCII Art
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
|
||||
tasks:
|
||||
- name: Print ASCII Art from Shell Script
|
||||
ansible.builtin.command: scripts/ice_cream_cone.sh
|
||||
register: ascii_art_output
|
||||
|
||||
- name: Debug ascii_art_output
|
||||
ansible.builtin.debug:
|
||||
var: ascii_art_output
|
||||
|
||||
- name: Display the ASCII Art Output
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ ascii_art_output.stdout_lines }}"
|
Reference in New Issue
Block a user