Joshua Watt 739d7b5118 use-docker-mirror: Also run task if docker_mirror is defined
The role was skipping doing anything if docker_mirror was not defined.

Change-Id: I82c8869f6a05651336f0f106ea98b33331b19ac1
2023-01-10 14:16:39 -06:00

11 lines
287 B
YAML

- name: Set mirror_fqdn fact
when:
- mirror_fqdn is not defined
- zuul_site_mirror_fqdn is defined
set_fact:
mirror_fqdn: "{{ zuul_site_mirror_fqdn }}"
- name: Set up docker mirrors
include_tasks: mirror.yaml
when: mirror_fqdn is defined or docker_mirror is defined