ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 519 - DOP-C01 discussion

Report
Export

What is the main difference between calling the commands ‘ansible’ and ‘ansible-playbook’ on the command line?

A.
‘ansible’ is for setting configuration and environment variables which ‘ansible-playbook’ will use when running plays.
Answers
A.
‘ansible’ is for setting configuration and environment variables which ‘ansible-playbook’ will use when running plays.
B.
‘ansible-playbook’ is for running entire Playbooks while ‘ansible’ is for calling ad-hoc commands.
Answers
B.
‘ansible-playbook’ is for running entire Playbooks while ‘ansible’ is for calling ad-hoc commands.
C.
‘ansible-playbook’ runs the playbooks by using the ‘ansible’ command to run the individual plays
Answers
C.
‘ansible-playbook’ runs the playbooks by using the ‘ansible’ command to run the individual plays
D.
‘ansible’ is for running individual plays and ‘ansible-playbook’ is for running the entire playbook.
Answers
D.
‘ansible’ is for running individual plays and ‘ansible-playbook’ is for running the entire playbook.
Suggested answer: B

Explanation:

The ‘ansible’ command is for running Ansible ad-hoc commands remotely via SSH. ‘ansibleplaybook’ is for running Ansible Playbook projects.

Reference: http://docs.ansible.com/ansible/intro_adhoc.html

asked 16/09/2024
Jeffrey VanBemmel
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first