Hi All,
Im new to ansible and want to underestand the syntax better, i have the below file running on my Ubuntu machine but im struggling with knowing where to use the " - " sign as i previously though it was just for “- name”.
im confused with the below lines of config
register: print_output
- debug: var=print_output.stdout_lines
why does the debug need a “-” infront of it and also why does it need to be indented from the previous line " register: print_output " ?
appologies that this is basic stuff and thanks in advance for any help
Simon