Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 1 | |
| 2 | # 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 | |
| 16 | |
Zack Williams | 99adf6b | 2016-03-14 17:01:08 -0700 | [diff] [blame] | 17 | --- |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 18 | # dns-unbound/defaults/main.yml |
Zack Williams | 99adf6b | 2016-03-14 17:01:08 -0700 | [diff] [blame] | 19 | |
| 20 | unbound_conf: "/var/unbound/etc/unbound.conf" |
| 21 | unbound_group: "wheel" |
| 22 | |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 23 | unbound_listen_on_default: False |
| 24 | |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 25 | unbound_listen_all: True |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 26 | |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 27 | # NOTE - many of the below settings are shared with the dns-nsd role, and you |
| 28 | # may need to update them in the defaults of both. |
| 29 | |
| 30 | site_name: placeholder-sitename |
| 31 | site_suffix: "{{ site_name }}.test" |
| 32 | |
| 33 | headnode: head1 |
| 34 | |
| 35 | # Management IP range from DHCP settings |
| 36 | mgmt_ipv4_first_octets: "192.168.200" |
| 37 | mgmt_name_reverse_unbound: "168.192.in-addr.arpa" |
| 38 | |
| 39 | unbound_interfaces: |
| 40 | - "{{ mgmt_ipv4_first_octets }}.1/24" |
| 41 | |
| 42 | # node lists |
| 43 | head_lxd_list: [] |
| 44 | physical_node_list: [] |
| 45 | |
| 46 | # DNS settings for NSD/Unbound |
| 47 | nsd_zones: |
| 48 | - name: "{{ site_suffix }}" |
| 49 | ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}" |
| 50 | name_reverse_unbound: "{{ mgmt_name_reverse_unbound }}" |
| 51 | soa: ns1 |
| 52 | ns: |
| 53 | - { name: ns1 } |
| 54 | nodelists: |
| 55 | - head_lxd_list |
| 56 | - physical_node_list |
| 57 | aliases: |
| 58 | - { name: "apt-cache", dest: "{{ headnode }}" } |
| 59 | - { name: "cordloghost", dest: "{{ headnode }}" } |
| 60 | - { name: "consul", dest: "{{ headnode }}" } |
| 61 | - { name: "docker", dest: "{{ headnode }}" } |
| 62 | - { name: "mavenrepo", dest: "{{ headnode }}" } |
| 63 | - { name: "ns", dest: "{{ headnode }}" } |
| 64 | - { name: "ns1", dest: "{{ headnode }}" } |
| 65 | - { name: "onos-cord", dest: "{{ headnode }}" } |
| 66 | - { name: "xos", dest: "{{ headnode }}" } |
| 67 | - { name: "xos-chameleon", dest: "{{ headnode }}" } |
| 68 | - { name: "xos-consul", dest: "{{ headnode }}" } |
| 69 | - { name: "xos-core", dest: "{{ headnode }}" } |
| 70 | - { name: "xos-gui", dest: "{{ headnode }}" } |
| 71 | - { name: "xos-tosca", dest: "{{ headnode }}" } |
| 72 | - { name: "xos-ws", dest: "{{ headnode }}" } |
| 73 | |