Categories

Nov 13, 2019 in Ansible

Q: What is the difference between the Variable Name and Environment Variable in Ansible?

1 Answer

Nov 13, 2019

Variable Name                                                      Environment Variable

You need to add strings to create variable names.       You need existing variables to access                                                                                                    environment variables.

You can easily create multiple variable names by       To create environment variables, you must 

adding strings.                                                              refer to the advanced Ansible playbook.

Use the IPV4 address for variable names.             Use {{ansible_env.SOME_VARIABLE}} for remote                                                                         environment variables.

Click here to read more about Ansible
Click here to read more about Insurance

Related questions

Madanswer
Nov 13, 2019 in Ansible
Nov 27, 2019 in DevOps
Jun 23, 2019 in PHP
...