AWS DevOps Engineer Professional DOP-C01 – Question467

When writing plays, tasks and playbooks, Ansible fully supports which high level language to describe these?

A.
YAML
B. Python
C. XML
D. JSON

Correct Answer: A

Explanation:

Explanation: This can be bit of a trick question. While Ansible Playbooks in this course are written in YAML, Ansible will accept plays, tasks and playbooks in JSON, as JSON a subset of YAML. However, the preferred and fully supported method is YAML.
Reference:
http://docs.ansible.com/ansible/YAMLSyntax.html