aboutsummaryrefslogtreecommitdiffstats
path: root/roles/dns_records/README.md
blob: dc2992faad43e7fc22f591a41a079aea2f78e63b (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
DNS Records
===========

Description
-----------

The `dns_records` role adds A, PTR, and CNAME records for the host in FreeIPA.


Variables
---------

This role **accepts** the following variables:

Variable     | Default        | Description
-------------|----------------|------------
`dns_ip`     | `{{ ip }}`     | IP of the host
`dns_fqdn`   | `{{ fqdn }}`   | FQDN of the host
`dns_cnames` | `{{ cnames }}` | FQDN aliases of the host


Usage
-----

Example playbook:

````yaml
- name: add DNS records
  hosts: all
  roles:
    - dns_records
````