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