#!/usr/bin/env ansible-playbook --- - hosts: mirror_backend vars: ftpsync: "{{ glob_ftpsync | default({}) | combine(loc_ftpsync | default({})) }}" rsync_mirror: "{{ glob_rsync_mirror | default({}) | combine(loc_rsync_mirror | default({})) }}" apt_mirror: "{{ glob_apt_mirror | default({}) | combine(loc_apt_mirror | default({})) }}" roles: - ftpsync - rsync-mirror - apt-mirror - hosts: mirror_frontend vars: nginx: "{{ glob_nginx | default({}) | combine(loc_nginx | default({})) }}" roles: - nginx - hosts: rsyncd vars: rsyncd: "{{ glob_rsyncd | default({}) | combine(loc_rsyncd | default({})) }}" roles: - rsyncd