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