diff options
author | Tadej Borovšak <70951+tadeboro@users.noreply.github.com> | 2020-02-11 00:31:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-10 15:31:19 -0800 |
commit | 7b03b581dcefcd44086789db1f052b03f2e4c148 (patch) | |
tree | a14224711470a52d92ba6f305a4162c0eab3e525 | |
parent | 569218f0cdaa0d29893336d1b322a647e2d8f5b7 (diff) | |
download | ansible-7b03b581dcefcd44086789db1f052b03f2e4c148.tar.gz |
Make nios_txt_record use text field for object lookup (#67120)
Up until now, nios_txt_record assumed that the name and view
parameters uniquely described a TXT record. What this meant is that it
was impossible to have more than one TXT record with a certain name.
Changes in this commit expands the set of parameters that uniquely
identify the TXT record with a text field.
-rw-r--r-- | lib/ansible/modules/net_tools/nios/nios_txt_record.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/net_tools/nios/nios_txt_record.py b/lib/ansible/modules/net_tools/nios/nios_txt_record.py index 0f92ac67db..a2355fcaf5 100644 --- a/lib/ansible/modules/net_tools/nios/nios_txt_record.py +++ b/lib/ansible/modules/net_tools/nios/nios_txt_record.py @@ -106,7 +106,7 @@ def main(): ib_spec = dict( name=dict(required=True, ib_req=True), view=dict(default='default', aliases=['dns_view'], ib_req=True), - text=dict(type='str'), + text=dict(type='str', ib_req=True), ttl=dict(type='int'), extattrs=dict(type='dict'), comment=dict(), |