Hi,

I has a common roles, where I install all base packages.

Now we has some environments where need proxy and others where is not
needed.

- name: Epel repo OracleLinux
>   yum: name=
> http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
> state=present
>   when: ansible_distribution == 'OracleLinux'
>   environment: proxy_env


Some way to add

>   environment: proxy_env

 just in some cases?

Thanks!
Ale

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CALJtzxBCNqm-jAMnALTQ2xGEvQ0droE4S7xW8DwUmvzgg1a0qg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to