0 votes
in Ansible by

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

1 Answer

0 votes
by

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
asked Oct 7, 2020 in Ansible by Robindeniel
0 votes
asked Sep 20, 2020 in XML by Robindeniel
...