Oct 7, 2020 in Ansible
Q:

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

1 Answer

0 votes
Oct 7, 2020

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}}

Related questions

0 votes
Sep 20, 2020 in XML
0 votes
Aug 29, 2020 in Python
...