What is the output statement of the following snippet?

Q & ACategory: QuestionsWhat is the output statement of the following snippet?
Admin Staff asked 5 years ago

What is the output statement of the following snippet?

tasks:

– name: test

  shell: echo “hello”

  register: a

  debug: msg=”the message is {{ a.stdout }}”

1 Answers
Admin Staff answered 5 years ago

syntax error because of conflicting action statements