Home » Amazon » AWS DevOps Engineer Professional v.2 » When writing plays, tasks and playbooks, Ansible fully supports which high level language to describe these?
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/Reference:
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