diff --git a/library/ipadiscovery.py b/library/ipadiscovery.py
index 2c5f5ca2cfa98948564725c1e112bba72ee1939e..ca458484e78cb8d1ab811643b5b33a307300fc10 100644
--- a/library/ipadiscovery.py
+++ b/library/ipadiscovery.py
@@ -276,7 +276,7 @@ def main():
             break
 
     module.exit_json(changed=True,
-                     dnsok=dnsok, domain=cli_domain, server=cli_server,
+                     dnsok=dnsok, domain=cli_domain, servers=cli_server,
                      subject_base=subject_base, realm=cli_realm,
                      kdc=cli_kdc, client_domain=client_domain,
                      basedn=cli_basedn, hostname=hostname)