openstack-ansible/playbooks/inventory/env.d/unbound.yml
Logan V d651ed70f4 Unbound DNS resolution containers
Optionally deploy unbound DNS caching resolvers in lieu of
managing /etc/hosts across all hosts.

This is an opt-in optimization providing centralized DNS
resolution containers to allow intra-cluster name resolution
identical to what openstack_hosts provides with its /etc/hosts
management.

Managing /etc/hosts is very inefficient and cumbersome in large
environments with lots of hosts, so this change allows for a
quicker and more consistent deployment using centralized resolvers.

Change-Id: Ibbc1fc77aa42c1a530e2f52a5c3c4ed86d0fe8ea
2016-08-26 10:11:22 -05:00

37 lines
943 B
YAML

---
# Copyright 2016, Logan Vig <logan2211@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
component_skel:
unbound:
belongs_to:
- unbound_all
container_skel:
unbound_container:
belongs_to:
- unbound_containers
contains:
- unbound
properties:
service_name: unbound
physical_skel:
unbound_containers:
belongs_to:
- all_containers
unbound_hosts:
belongs_to:
- hosts