New in version 2.2.
This module allows to manage dns records on a univention corporate server (UCS). It uses the python API of the UCS to create a new object or edit it.
parameter | required | default | choices | comments |
---|---|---|---|---|
data | no | Additional data for this record, e.g. ['a': '192.0.2.1']. Required if state=present . |
||
name | yes | Name of the record, this is also the DNS record. E.g. www for www.example.com. |
||
state | no | present |
| Whether the dns record is present or not. |
type | yes |
| Define the record type. host_record is a A or AAAA record, alias is a CNAME, ptr_record is a PTR record, srv_record is a SRV record and txt_record is a TXT record. |
|
zone | yes | Corresponding DNS zone for this record, e.g. example.com. |
# Create a DNS record on a UCS - udm_dns_zone: name=www zone=example.com type=host_record data=['a': '192.0.2.1']
For more information on what this means please read Extras Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.
© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/udm_dns_record_module.html