mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
This commit is contained in:
parent
b79806d5d4
commit
03f92abf8c
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ def main():
|
|||
record_name = module.params["record_name"]
|
||||
|
||||
# Follow Keyword Controlled Behavior
|
||||
if not record_name:
|
||||
if record_name is None:
|
||||
domain_records = DME.getRecords()
|
||||
if not domain_records:
|
||||
module.fail_json(
|
||||
|
|
Loading…
Reference in a new issue