0 votes
in Ansible by

How can you use the Ansible module “debug” to display a variable’s value during a playbook run?

a) By using the “msg” parameter to specify the variable’s name

b) By using the “var” parameter to specify the variable’s name

c) By using the “value” parameter to specify the variable’s name

d) By using the “debug” parameter with the value “true” and the variable’s name as the parameter value

1 Answer

0 votes
by

Answer: b) By using the “var” parameter to specify the variable’s name

Explanation: The Ansible module “debug” can be used to display a variable’s value during a playbook run by using the “var” parameter to specify the variable’s name.

...