Hi all,
I have a issue to make dns record in my win AD server. Im sugin kerberos
because its more convinient and MS AD does not support tsig. With kinit
standalone application nsupdate works ok, but with ansible module, im
getting error below.. Please help.. I Also specified inventory like this
ansible_port=5986
ansible_connection=winrm
ansible_winrm_transport=kerberos
ansible_winrm_server_cert_validation=ignore
> The full traceback is:
> WARNING: The below traceback may *not* be related to the actual failure.
> File "/tmp/ansible_nsupdate_payload_ZGtARU/__main__.py", line 272, in
> create_record
> entry)
> File "/usr/lib/python2.7/site-packages/dns/update.py", line 136, in add
> self._add(False, self.authority, name, *args)
> File "/usr/lib/python2.7/site-packages/dns/update.py", line 120, in _add
> self.origin)
> File "/usr/lib/python2.7/site-packages/dns/rdata.py", line 391, in
> from_text
> return cls.from_text(rdclass, rdtype, tok, origin, relativize)
> File "/usr/lib/python2.7/site-packages/dns/rdtypes/IN/A.py", line 46, in
> from_text
> return cls(rdclass, rdtype, address)
> File "/usr/lib/python2.7/site-packages/dns/rdtypes/IN/A.py", line 36, in
> __init__
> dns.ipv4.inet_aton(address)
> File "/usr/lib/python2.7/site-packages/dns/ipv4.py", line 63, in
> inet_aton
> raise dns.exception.SyntaxError
> fatal: [localhost]: FAILED! => {
> "changed": false,
> "invocation": {
> "module_args": {
> "key_algorithm": "hmac-md5",
> "key_name": null,
> "key_secret": null,
> "port": 53,
> "record": "testujuns",
> "server": "server.domain.local",
> "state": "present",
> "ttl": 3600,
> "type": "A",
> "value": [
> "155.55.477.11"
> ],
> "zone": "parfums.local."
> }
> },
> "msg": "Invalid/malformed value"
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/0c5176a5-6c32-4f5c-afed-8195b3cc15e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.