Ok thanks for your answer. If I find the time, I will code it and made a pull request.
Best regards, Julien ---- Focus problems when you work on your computer ? try http://www.boxti.me Empty and full Velib' station bother you ? try http://www.veliberation.fr You love Scala, FreeBSD, Ansible ? Me too, let's discuss that next time I see you ! On Fri, Feb 21, 2014 at 2:22 PM, Michael DeHaan <[email protected]> wrote: > The environment keyword currently applies to a specific task, for instance > so you can apply the proxy to some tasks that need a proxy, and turn it off > for some tasks that cannot use the proxy -- which is a real world scenario > for many people. > > I'm open to pull requests that enable it at play level of course, and that > would be a welcome addition. If not, you could also file a feature request > on github. > > > > > On Fri, Feb 21, 2014 at 7:02 AM, <[email protected]> wrote: > >> Hi every body, >> >> I know that It's possible to set environnement variables for one task. >> >> Is that possible to setup environment variables for a whole playbook or >> eventually a role ? (without add environnement keyword in every tasks) >> >> Something like that : >> --- >> - hosts: webservers >> roles: >> - php >> - nginx >> environment: >> http_proxy: http://my.proxy:8080 >> >> I have try lot of things and check the source but I find nothing :( >> >> Thanks in advance for your answers, >> Best regards, >> Julien >> >> >> -- >> 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 post to this group, send email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/w3aqRqZ1hIw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
