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_VERIFY="1" export DOCKER_HOST="tcp://192.168.99.100:2376" export DOCKER_CERT_PATH="/home/user/.docker/machine/machines/DEV-MACHINE" export DOCKER_MACHINE_NAME="DEV-MACHINE" When this is executed from an ansible playbook environment variables are not set Best Regards to the team ! -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8d11195b-fb01-4e94-964b-dfc212a77fed%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.