You've already forked ansible-role-repo-epel
Use environment variables for proxy address
This commit is contained in:
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@@ -28,3 +28,4 @@ jobs:
|
|||||||
molecule test --all
|
molecule test --all
|
||||||
env:
|
env:
|
||||||
MOLECULE_DISTRO: ${{ matrix.molecule_distro }}
|
MOLECULE_DISTRO: ${{ matrix.molecule_distro }}
|
||||||
|
EPEL_MIRROR_URL: https://pproxy.guise.net.nz
|
||||||
|
|||||||
@@ -7,4 +7,4 @@
|
|||||||
name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|
name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|
||||||
vars:
|
vars:
|
||||||
epel_specify_mirror: true
|
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
|
- name: mirror is specified correctly
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- "'https://someproxyormirror.org.nz' in repofile.stdout"
|
- "{{ lookup('env', 'EPEL_MIRROR_URL') in repofile.stdout"
|
||||||
|
|||||||
Reference in New Issue
Block a user