What is the expected behavior if Ansible is called with ‘ansible-playbook -i localhost playbook.yml’?

What is the expected behavior if Ansible is called with ‘ansible-playbook -i localhost playbook.yml’?
A. Ansible will attempt to read the inventory file named ‘localhost’
B. Ansible will run the plays locally.
C. Ansible will run the playbook on the host named ‘localhost’
D. Ansible won’t run, this is invalid command line syntax

amazon-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.