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