You've already forked ansible-role-repo-epel
Use environment variables for proxy address
This commit is contained in:
@@ -7,4 +7,4 @@
|
||||
name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|
||||
vars:
|
||||
epel_specify_mirror: true
|
||||
epel_mirror_url: https://pproxy.guise.net.nz
|
||||
epel_mirror_url: "{{ lookup('env', 'EPEL_MIRROR_URL')"
|
||||
|
||||
@@ -22,4 +22,4 @@
|
||||
- name: mirror is specified correctly
|
||||
assert:
|
||||
that:
|
||||
- "'https://someproxyormirror.org.nz' in repofile.stdout"
|
||||
- "{{ lookup('env', 'EPEL_MIRROR_URL') in repofile.stdout"
|
||||
|
||||
Reference in New Issue
Block a user