hello

On 22.09.21 22:23, Dick Visser wrote:
Well it works fine here, also for a file with the ansible substring:
$ export ANSIBLE_CONFIG=/opt/project.cfg $ ansible --version | head -2 ansible 2.10.12 config file = /opt/project.cfg
ok I got it ... my understanding of environment variables was not sufficient obviously

I thought

   $ ANSIBLE_CONFIG=/opt/project.cfg
   $ echo $ANSIBLE_CONFG
   /opt/project.cfg

was proof enough for this to work in the current shell/context and *you only needed the **'**export'**to make the VARIABLE universal and permanent* (which in my usecase was not required or even unwanted).

thanks for clarifying
best Gunnar

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/03fb1eb2-b975-2e34-d12b-65f17922fec3%40mailbox.org.

Reply via email to