Home » Amazon » AWS DevOps Engineer Professional v.2 » What is the proper (best practice) way to begin a playbook?
What is the proper (best practice) way to begin a playbook?
A. – hosts: all
B. …
C. ###
D. —
Correct Answer: D
Explanation/Reference:
Explanation:
All YAML files can begin with `—‘ and end with `…’ to indicate where YAML starts and ends. While this is optional, it is considered best practice.
Reference: http://docs.ansible.com/ansible/YAMLSyntax.html