blob: 9a88ce97cef46ede3c2b18f04678a99a3e656e34 (
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
44
45
|
dns
===
Configure a DNS server serving IPs of all the nodes of the cluster
Requirements
------------
Ansible 2.2
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 |
| `base_docker_image` | Optional | Base docker image to build Bind image from, used only in containerized deployments |
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 }}"
base_docker_image: 'centos:centos7'
License
-------
ASL 2.0
Author Information
------------------
OpenShift operations, Red Hat, Inc
|