Chapter 10, Highly Available Cloud Deployments
- What is the name of the variable that is registered using the
gather_facts
option, which contains the date and time our playbook was executed?
It is the ansible_date_time
fact
- True or false: Ansible automatically figures out which task it needs to execute, meaning we don't have to define any logic ourselves.
False
- Explain why we have to use the
local_action
module.
Because we do not want to interact with the AWS API from the host we are targeting with Ansible; instead, we want all AWS API interaction to take place from our Ansible Controller
- Which command do we prepend to our
ansible-playbook
command to record how long our command took to execute?
The time
command
- True or false: When using autoscaling, you have to manually launch EC2 instances.
False