Merge "Make master repos contain all distros"

This commit is contained in:
Jenkins 2017-07-19 16:15:27 +00:00 committed by Gerrit Code Review
commit 54ef0d3300

View File

@ -35,12 +35,11 @@
tasks:
- name: Prepare group of master repo servers
add_host:
name: "{{ item }}"
name: "{{ groups[item][0] }}"
groups: repo_masters
when:
- "item in groups['repo_servers_' + ansible_distribution_version + '_' + ansible_architecture][0]"
with_inventory_hostnames:
- repo_all
- "item.find('repo_servers_') != -1"
with_items: "{{ groups }}"
tags:
- always
- repo-build