blob: 1f71dc4a3a87ffa8b4911f929d2871eebf972df6 [file] [log] [blame]
- name: Switch to Atmosphere image mirror
hosts: all
tasks:
- name: Switch all images out of the CDN
ansible.builtin.replace:
path: "{{ zuul.project.src_dir }}/roles/defaults/vars/main.yml"
regexp: "{{ '{{' }} atmosphere_image_prefix {{ '}}' }}registry.atmosphere.dev"
replace: harbor.atmosphere.dev
- name: Print out the image list
ansible.builtin.shell: |
cat roles/defaults/vars/main.yml
args:
chdir: "{{ zuul.project.src_dir }}"