Question: Which statement about host and group variables are most correct? Group of answer choices The best way to define a host variable is directly in

Which statement about host and group variables are most correct?
Group of answer choices
The best way to define a host variable is directly in the inventory file: server1.example.com privilege_user=remote_user
To use a variable , double curly braces should be used at all times ({{}}).
Play variables have the less precedence over host or group variables.
It is best to create host_vars and group_vars directories containing files defining host or group variables in the same directory as the inventory file or directory.
Best practice is to define host and group variables directly in the inventory file.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!