summaryrefslogtreecommitdiffstats
path: root/roles/dns/README.md
blob: e238fb92efe3b8f19bb6792b738df30db061e8f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
dns
===

Configure a DNS server serving IPs of all the nodes of the cluster

Requirements
------------

None

Role Variables
--------------

| Name | Mandatory / Optional | Description |
|------|----------------------|-------------|
| `dns_zones` | Mandatory | DNS zones in which we must find the hosts |
| `dns_forwarders` | If not set, the DNS will be a recursive non-forwarding DNS server | DNS forwarders to delegate the requests for hosts outside of `dns_zones` |
| `dns_all_hosts` | Mandatory | Exhaustive list of hosts |

Dependencies
------------

None

Example Playbook
----------------

    - hosts: dns_hosts
      roles:
      - role: dns
        dns_forwarders: [ '8.8.8.8', '8.8.4.4' ]
        dns_zones: [ novalocal, openstacklocal ]
        dns_all_hosts: "{{ g_all_hosts }}"

License
-------

ASL 2.0

Author Information
------------------

OpenShift operations, Red Hat, Inc