- How do you restart the Apache web server in the frontends host group via an ad hoc command?
A) ansible frontends -i hosts -a "name=httpd state=restarted"
B) ansible frontends -i hosts -b service -a "name=httpd state=restarted"
C) ansible frontends -i hosts -b -m service -a "name=httpd state=restarted"
D) ansible frontends -i hosts -b -m server -a "name=httpd state=restarted"
E) ansible frontends -i hosts -m restart -a "name=httpd"
- Do blocks allow you to logically make a group of tasks, or perform error handling?
A) True
B) False
- Default strategies are intended via the relevant modules in the playbook.
A) True
B) False