zuul-jobs/roles/use-docker-mirror/tasks/main.yaml
Albin Vass 91ae649107 use-docker-mirror: update include to include_tasks
Change-Id: I501ef1c05404b1d808ea5964795fb4fec1179e5a
2020-05-26 10:09:56 +02:00

11 lines
259 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