0 votes
in Ansible by (19.7k points)

Can you please explain what is the difference between a variable name and an environment variable?

1 Answer

0 votes
by (30.6k points)

Variable Name                                                                  Environment Variable

To create variable names, you have to add strings                To access environment variables, you need already existing                                                                                                           variables

By adding strings, you can create several variable names You should refer advanced Ansible Playbook to create environment variables

For variable names, use the ipv4 address                          For remote environment variable, use {{                                                                                                                                           Ansible_envSOME_VARIABLES}}

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

Related questions

0 votes
asked Oct 7, 2020 in Ansible by Robindeniel (19.7k points)
0 votes
asked Sep 20, 2020 in XML by Robindeniel (19.7k points)