blob: 6dec81b4360039583d375174748eb3abc285acee [file] [log] [blame]
Zack Williams2d325cb2017-10-23 11:21:05 -07001---
Matteo Scandolo3896c472017-08-01 13:31:42 -07002# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
Zack Williamsba5549c2017-03-25 15:04:45 -070016# dns-unbound/defaults/main.yml
Zack Williams99adf6b2016-03-14 17:01:08 -070017
Zack Williams6dc2d452017-12-20 17:50:49 -070018# Shared settings
Zack Williams9cea13e2017-07-25 16:32:59 -070019site_name: placeholder-sitename
20site_suffix: "{{ site_name }}.test"
21
Zack Williams2d325cb2017-10-23 11:21:05 -070022headnode_dns: head1
Zack Williams9cea13e2017-07-25 16:32:59 -070023
Zack Williams6dc2d452017-12-20 17:50:49 -070024management_net_cidr: "192.168.200.0/24"
Zack Williams9cea13e2017-07-25 16:32:59 -070025
26# node lists
27head_lxd_list: []
28physical_node_list: []
29
Zack Williams6dc2d452017-12-20 17:50:49 -070030# NOTE - many of the below settings are shared with the dns-nsd role, and you
31# may need to update them in the defaults of both.
32
33nsd_ip: 127.0.0.1
34
35unbound_conf: "/etc/unbound/unbound.conf"
36unbound_group: "unbound"
37
38unbound_listen_on_default: False
39unbound_listen_all: True
40unbound_listen_zones: True
41
Zack Williams9cea13e2017-07-25 16:32:59 -070042# DNS settings for NSD/Unbound
43nsd_zones:
44 - name: "{{ site_suffix }}"
Zack Williams6dc2d452017-12-20 17:50:49 -070045 cidr: "{{ management_net_cidr }}"
Zack Williams9cea13e2017-07-25 16:32:59 -070046 soa: ns1
47 ns:
48 - { name: ns1 }
49 nodelists:
50 - head_lxd_list
51 - physical_node_list
52 aliases:
Zack Williams2d325cb2017-10-23 11:21:05 -070053 - { name: "apt-cache", dest: "{{ headnode_dns }}" }
54 - { name: "cordloghost", dest: "{{ headnode_dns }}" }
55 - { name: "consul", dest: "{{ headnode_dns }}" }
56 - { name: "docker", dest: "{{ headnode_dns }}" }
57 - { name: "mavenrepo", dest: "{{ headnode_dns }}" }
58 - { name: "ns", dest: "{{ headnode_dns }}" }
59 - { name: "ns1", dest: "{{ headnode_dns }}" }
60 - { name: "onos-cord", dest: "{{ headnode_dns }}" }
61 - { name: "onos-fabric", dest: "{{ headnode_dns }}" }
62 - { name: "xos", dest: "{{ headnode_dns }}" }
63 - { name: "xos-chameleon", dest: "{{ headnode_dns }}" }
64 - { name: "xos-consul", dest: "{{ headnode_dns }}" }
65 - { name: "xos-core", dest: "{{ headnode_dns }}" }
66 - { name: "xos-gui", dest: "{{ headnode_dns }}" }
67 - { name: "xos-tosca", dest: "{{ headnode_dns }}" }
68 - { name: "xos-ws", dest: "{{ headnode_dns }}" }
Zack Williams9cea13e2017-07-25 16:32:59 -070069