Alternatives to exporting environment variables

Hi,
I have attached a playbook to export environment variables for proxy and aws keys. Even if I run this or include this at the top of provisioning script, I am getting an error “NO HANDLER WAS READY TO AUTHENTICATE”. But if I run those commands on terminal before running the provisioning script, I am able to get the job done. I don’t want to run the commands manually, Is there an efficient way of running those commands from playbook itself?

this is the playbook I wrote to export the environment variables

Hi,

Take a look at this: http://docs.ansible.com/ansible/playbooks_environment.html

regards
/Micke