configure-mirrors: update include to include_tasks
Change-Id: I77ee216150e497b0b45f34c8778b45d89f63b20e
This commit is contained in:
parent
162daaebe5
commit
d01b4e1339
@ -4,6 +4,5 @@
|
||||
gather_subset: pkg_mgr
|
||||
|
||||
- name: Set up infrastructure mirrors
|
||||
include: mirror.yaml
|
||||
include_tasks: mirror.yaml
|
||||
when: mirror_fqdn is defined
|
||||
static: no
|
||||
|
@ -24,8 +24,7 @@
|
||||
src: etc/pip.conf.j2
|
||||
|
||||
- name: Setup distribution specific packaging mirrors
|
||||
include: "{{ zj_distro_os }}"
|
||||
static: no
|
||||
include_tasks: "{{ zj_distro_os }}"
|
||||
with_first_found:
|
||||
- "mirror/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||
- "mirror/{{ ansible_distribution }}.yaml"
|
||||
|
Loading…
Reference in New Issue
Block a user