Use the nios_txt_record
module to create, update, or remove a TXT record object from a NIOS Grid.
The following table describes the parameters you can define in the nios_txt_record
module:
Parameter | Required/Optional | Description |
---|---|---|
| Required | Specifies the fully qualified host name of the TXT record to add, update, or remove from NIOS. |
| Optional | Specifies the DNS view to associate the TXT record with. |
| Optional | Specifies the text associated with the record. It can contain up to 255 bytes per substring and a total of up to 512 bytes. |
| Optional | Specifies the Time To Live (TTL) value for the record. |
| Optional | Specifies extensible attributes for the TXT record object. |
| Optional | Specifies the state of the TXT record instance on the NIOS server.
|
| Optional | Describes the TXT record object. |
| Required | Defines the details of the connection:
For information on additional fields you can define, see the list of subparameters in the NIOS Modules for Ansible Collections topic. |
| Required | The |
Examples
name: Ensure a text Record Exists
infoblox.nios_modules.nios_txt_record:
name: fqdn.txt.record.com
text: mytext
view: External
state: present
provider:
host: <nios_hostname_or_hostip>
username: <nios_username> password: <nios_password>
connection: local