Q91Automation and ProgrammabilityMultiple answers
Which two components are required to create an Ansible script that configures a VLAN on a switch? **(Choose two.)**
Select 2 answers.
← → navigate · a answer
Community votes
Discussion · 6
A, E 17
Selected Answer: AE
Ansible uses playbooks, which contain tasks.
3
Your explanation about Chef is spot on, but you misunderstood the question. Read it again. It said components required for Ansible, not Chef.
2
answer B and D:
Chef works with cookbooks, which contain recipe.
2
Inventory. The “inventory” is a configuration file where you define the host information. ...
Playbooks. In most cases – especially in enterprise environments – you should use Ansible playbooks. ...
Plays. Playbooks include plays. ...
Tasks. ...
Roles. ...
Handlers. ...
Templates. ...
Variables.
2
The question was asking about Ansible.
1
That's bs