300-910 · Question #76
What is included in ansible playbook instructions?
The correct answer is B. end state of component. Ansible playbooks describe the desired end state of managed systems, allowing them to idempotently apply configurations to reach that state.
Question
Options
- Acomponent dependencies
- Bend state of component
- Cmachine dependencies
- Dbeginning state of component
How the community answered
(26 responses)- B88% (23)
- C8% (2)
- D4% (1)
Why each option
Ansible playbooks describe the desired end state of managed systems, allowing them to idempotently apply configurations to reach that state.
While playbooks might implicitly manage dependencies by ordering tasks, 'component dependencies' is not the primary focus or direct description of what the instructions include in terms of declarative state.
Ansible is a configuration management tool that focuses on declarative configuration, meaning its playbooks describe the desired 'end state' of a system or component. When a playbook runs, Ansible ensures that the system reaches this specified state, without needing to know or manage the initial 'beginning state'.
'Machine dependencies' are not explicitly defined as instructions within a playbook; playbooks describe the configuration on machines, not the dependencies between machines themselves.
Ansible playbooks do not typically describe the 'beginning state' of a component; instead, they define what the state should be after execution, regardless of the starting point (idempotence).
Concept tested: Ansible playbook declarative nature
Source: https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html
Topics
Community Discussion
No community discussion yet for this question.