0 votes
in Ansible by

How can you use the Ansible module “debug” to display the value of a variable?

a) By providing the name of the variable as a parameter to the module

b) By providing a message and the name of the variable as parameters to the module

c) By using the “var” parameter with the name of the variable

d) By using the “msg” parameter with the name of the variable

1 Answer

0 votes
by

Solution: c) By using the “var” parameter with the name of the variable

Explanation: The Ansible module “debug” can be used to display the value of a variable by using the “var” parameter with the name of the variable.

...