Enlist the differences between variable name and environment variables.
Answer / Prem Datt
Variable names are local to a play or a task in an Ansible playbook, while environment variables are global and can be accessed by any process running on the system. Variable names have scope within an Ansible playbook, while environment variables are accessible by all processes.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to install ansible?
Does ansible support aws?
How do I set the path or any other environment variable for a task?
How do I loop over a list of hosts in a group, inside of a template?
How do I get ansible to reuse connections, enable kerberized ssh, or have ansible pay attention to my local ssh config file?
When to use {{}} ? How to interpolate variables or dynamic variable names?
Is ansible is an open source tool?
What are ansible vaults?
How does ansible work?
What features does the ansible tower provide?
How is ansible used in a continuous delivery pipeline? Explain.
What is the method to check the inventory vars defined for the host?