Commit Graph

7 Commits (b51a662258847d4ba63e88cf49a1765c1e1bf395)

Author SHA1 Message Date
Toshio Kuratomi 4b29146c4d be explicit about urllib import and remove conditional urllib(2) import
urllib and urllib2 have been in the python stdlib since at least
python-2.3.  There's no reason to conditionalize it.

Fixes https://github.com/ansible/ansible/issues/11322
10 years ago
Matthew Landauer b0992a97ef Handle MX,NS,TXT records correctly and don't assume one record type per name 10 years ago
Matthew Landauer 5ef2dd8a77 If record_name="" write empty value to dns made easy
This is necessary for instance when setting MX records on the root of a domain.
This is different than leaving record_name out completely which has the same
behaviour as before
10 years ago
Matthew Landauer bdeb0bc8db If record_value="" write empty value to dns made easy
This is necessary for instance when setting CNAMEs that point to the root
of the domain. This is different than leaving record_value out completely
which has the same behaviour as before
10 years ago
Matthew Landauer 3d2f19c24d Fix display of error message
It was crashing due to "domain" variable not being defined
10 years ago
Greg DeKoenigsberg 6e1077eabc Adding author's github id 10 years ago
Michael DeHaan 1e777bb508 Fix rename error. 10 years ago