mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
The format of TXT records must consist of one or many quoted strings of 255 characters.
Use this function to format TXT record that must match the format required by the API:
```yml
- name: Create a SPF record
hetzner.hcloud.zone_rrset:
zone: example.com
name: "@"
type: "TXT"
records:
- value: "{{ 'v=spf1 include:_spf.example.net ~all' | hetzner.hcloud.text_record }}"
state: present
```
|
||
|---|---|---|
| .. | ||
| doc_fragments | ||
| filter | ||
| inventory | ||
| module_utils | ||
| modules | ||
| __init__.py | ||