PrepAway - Latest Free Exam Questions & Answers

Which command is the correct way to run the playbook /home/ansible/Buildwww.yml using the inventory file /home

Which command is the correct way to run the playbook /home/ansible/Buildwww.yml using the inventory file /home/ansible/inventory, assuming your present working directory is /home/ansible?

A. ansible -i inventory Build.yml
B. ansible -i inventory -p Buildwww.yml
C. ansible-playbook -i inventory -p Buildwww.yml

D. ansible-playbook -i inventory Buildwww.yml

Explanation:
This command is the correct way to run the playbook using the requested inventory


Leave a Reply

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