ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 19 - DOP-C01 discussion

Report
Export

What is the proper (best practice) way to begin a playbook?

A.
- hosts: all
Answers
A.
- hosts: all
B.
...
Answers
B.
...
C.
###
Answers
C.
###
D.
---
Answers
D.
---
Suggested answer: D

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

asked 16/09/2024
Lietuvis Kau
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first