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: serverexample.com privilegeuserremoteuser
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 hostvars and groupvars 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
