Avoid latest Ansible version
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-11-10 15:03:11 +01:00
parent 85fb68b2e0
commit 6ce1a66d3e
3 changed files with 12 additions and 6 deletions

View File

@ -5,4 +5,3 @@
loop: "{{ query('ansible.builtin.fileglob', '/opt/metacluster/container-images/*.tar') | sort }}"
loop_control:
label: "{{ item | basename }}"
pause: 30

View File

@ -9,17 +9,23 @@ mirrors:
- https://registry.{{ vapp['metacluster.fqdn'] }}
rewrite:
"(.*)": "library/docker.io/$1"
gcr.io:
endpoint:
- https://registry.{{ vapp['metacluster.fqdn'] }}
rewrite:
"(.*)": "library/gcr.io/$1"
ghcr.io:
endpoint:
- https://registry.{{ vapp['metacluster.fqdn'] }}
rewrite:
"(.*)": "library/ghcr.io/$1"
k8s.gcr.io:
endpoint:
- https://registry.{{ vapp['metacluster.fqdn'] }}
rewrite:
"(.*)": "library/k8s.gcr.io/$1"
quay.io:
endpoint:
- https://registry.{{ vapp['metacluster.fqdn'] }}
rewrite:
"(.*)": "library/quay.io/$1"
configs:
registry.{{ vapp['metacluster.fqdn'] }}:
tls:
insecure_skip_verify: true

View File

@ -3,7 +3,8 @@ packages:
- jq
- python3-pip
pip:
- ansible-core
# Some change causes high load during loops of importing/pushing container images
- ansible-core<2.14.0
- jinja2
- lxml
- markupsafe