blob: c92532157e4d533e204981bcd5bc37657a9566c7 [file] [log] [blame]
- name: Switch to Atmosphere image mirror
hosts: all
tasks:
# TODO(mnaser): Drop this when we can use https://github.com/vexxhost/atmosphere/pull/977
- name: Prefix all images for the job to point to mirror
ansible.builtin.shell: |
sed -i '/registry.atmosphere.dev/!s/ \(.*\): \(.*\)$/ \1: registry.atmosphere.dev\/\2/' roles/defaults/vars/main.yml
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Print out the image list
ansible.builtin.shell: |
cat roles/defaults/vars/main.yml
args:
chdir: "{{ zuul.project.src_dir }}"