Is there a syntax error in the following excerpt?

Is there a syntax error in the following excerpt? If so, what is it?
vars:
package: httpd tasks: – name: Deploy {{ package }} yum: name: {{ package }} state: present
A. No, there are no syntax errors in the provided excerpt.
B. Yes, the variable package is not defined correctly.
C. Yes, the name parameter for the yum module should have a quoted value.
D. Yes, the name keyword (below tasks) should have a quoted value.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.