[ansible-project] Execute eval from shell module to set up environment variables

2019-02-16 Thread Захари Палазов
Is it possible to execute eval command from a shell module to set up environment variables ? This is a snippet from a playbook which tries to set up environment variables by executing eval command eval $(docker-machine env DEV-MACHINE) This is the result of the eval command export DOCKER_TLS_

[ansible-project] Re: Execute eval from shell module to set up environment variables

2019-02-24 Thread Захари Палазов
Adrian could you be more specific what do we call shell initialization files. On Monday, February 18, 2019 at 7:19:43 PM UTC+2, Adrian Sebastian Dutu wrote: > > You need to put those export commands in the shell initialization files. > Running export will set it just for the current session, wh